^^ this will give us a progress display that is always using the previous value as the minimum and interpolates the percentage in the same way, no matter how many sub progresses are on the stack
Currently I don't believe there are any methods that push onto the stack more than a single sub progress at a time, so the issue isn't visible. But I have future changes that would use this
The other change just allows for the progress stack to empty completely, for example - if an error occurs mid progress
Add first subprogress (same result for new and old formula) StartSubProgress(10,20):
Add another subprogress: StartSubProgress(10,15):
Old Formula:
^^ this will give us a progress which is less than the previous progress (when displaying on the progress bar)
New Formula
^^ this will give us a progress display that is always using the previous value as the minimum and interpolates the percentage in the same way, no matter how many sub progresses are on the stack
Currently I don't believe there are any methods that push onto the stack more than a single sub progress at a time, so the issue isn't visible. But I have future changes that would use this
The other change just allows for the progress stack to empty completely, for example - if an error occurs mid progress