mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
c730d8c4cc
# Objective After #9002, it seems that "single shot" animations were broken. When completing, they would reset to their initial value. Which is generally not what you want. - Fixes #10480 ## Solution Avoid `%`-ing the animation after the number of completions exceeds the specified one. Instead, we early-return. This is also true when the player is playing in reverse. --- ## Changelog - Avoid resetting animations after `Repeat::Never` animation completion. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |