Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return keep going when a state machine has changed its state
previously, when an animation advanced by 0 seconds, it would return true, which was interpreted as meaning that the animation needed to keep advancing. We changed that behavior and now a linear animation will return false if it didn't advance. A side effect of that is that now the animation state that calls advance, sets keepGoing to false instead of true. So the animation wouldn't keep going in that frame. Which is ok as long as we add a new condition to identify whether the state machine layer should keep going in the next frame based on whether it changed its state internally. This PR adds that condition Diffs= 51c3bbcde2 return keep going when a state machine has changed its state (#8564) Co-authored-by: hernan <[email protected]>
- Loading branch information