-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nnnn apply target to source on change
This PR reworks how "source to target" binding works. Previously, any binding marked as "source to target" would run at every frame setting the value to the source, relying on the fact that, after the first frame, it would be setting the same value subsequently and nothing would change. But that prevents changing the view model source value externally since it would be overwritten immediately. This PR solves this by keeping track of value changes at the binding level. It also addresses memory leaks by not creating a new data value on every frame. And it renames some methods for clarity. Diffs= 63642c62d4 Nnnn apply target to source on change (#9049) e417bb4754 add support for state transition duration binding (#9061)
- Loading branch information
bodymovin
committed
Feb 19, 2025
1 parent
84a1061
commit 5b60eef
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
98cac08e6a7ae298cf620f3cbc05cdc9233de61c | ||
63642c62d46f41939545609dd151b68d0f4f67fe |
Submodule rive-runtime
updated
35 files