Skip to content

Commit

Permalink
skip object on animation reset if it is null
Browse files Browse the repository at this point in the history
after a recent change where we validate objects when we create an animation, if those objects are not valid, they get removed.
But animation_reset_factory was assuming they would never be nullptrs.
This checks whether the object exists, similar to how keyed_objects operate when applying an animation.

Diffs=
3c0cc1f329 skip object on animation reset if it is null (#8670)
  • Loading branch information
bodymovin committed Dec 3, 2024
1 parent 4bd9965 commit f562cfc
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 @@
1d2c9175d4a7b644276e6edfb103ae7f19ccbcba
3c0cc1f329b0593c4ebd24e375bc12e5a07f0611

0 comments on commit f562cfc

Please sign in to comment.