Skip to content

Commit

Permalink
Updates to AdvanceFlags
Browse files Browse the repository at this point in the history
Fixes a couple of issues with the initial AdvanceFlags PR.
1. Currently the advanceNested flag gets turned on if we are playing a state machine or animation in the editor. The animate flag gets turned on if the Layout animation toggle is enabled. `NestedArtboards` should only animate if `advanceNested` is on, while `LayoutComponents` should animate if either `animate` or `advanceNested` are on.
2. After discussion with @bodymovin he clarified that the inner loop in StateMachineInstance.advanceAndApply should not have the newFrame flag on.

Diffs=
8738368345 Updates to AdvanceFlags (#8514)
  • Loading branch information
philter committed Nov 7, 2024
1 parent 419068f commit 0208d83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17cbda4b699154e815065da48cdb04ecf4f62d6f
8738368345c05a8109647e80e23f7be2c411240a

0 comments on commit 0208d83

Please sign in to comment.