Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't apply id keyframes when mix value is 0
Addresses an issue where mixing animations of a nested artboard from it's parent artboard can produce unexpected results when dealing with id based keyframes (such as active solo or draw rules). The proposed solution ignores applying an id keyframe's value to an object if the mix value for that animation/keyframe is 0. This provides a way to turn "off" an id based keyframe during a mix. Behavior AFTER this update. This example has an artboard with 2 animations that each have different values for active solo and a draw rule that is on or off. This artboard is nested in another artboard which sets the animation mix as seen in the recording. https://github.com/rive-app/rive/assets/186340/b67e98c8-ab7c-4a92-ab3b-65d27b0eadbd Behavior BEFORE: https://github.com/rive-app/rive/assets/186340/c0a6c558-efc4-43ec-8974-57bf8f6ab3e8 Diffs= b9382846d Don't apply id keyframes when mix value is 0 (#5960) Co-authored-by: Philip Chung <philterdesign@gmail.com>
- Loading branch information