Skip to content

Commit

Permalink
Rework text/event count/at.
Browse files Browse the repository at this point in the history
Storing the source artboard events and text runs leads to problems when using instanced artboards as the nested artboards use references to the source objects. Noesis ran into this when trying to use the API to change the text run's value but weren't seeing anything getting marked dirty as the returns runs effectively were owned by a different artboard.

This dries up the API and fixes references by using two generalized count and indexAt methods.

Further details here!
https://github.com/rive-app/rive/pull/6043#issuecomment-1922305190

Diffs=
f5e458f80 Rework text/event count/at. (#6548)
  • Loading branch information
luigi-rosso committed Feb 2, 2024
1 parent 0c06a80 commit b3950b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
852b17bca7e7c2d3deb7f2d09876b3b548115200
f5e458f807056bf2522620aafaa60a048cd38d47
2 changes: 1 addition & 1 deletion .rive_renderer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b71c8ef176373689b7ff23b54baaf8a950629834
66ccd4f096e685e32636c79252130d2294ed690e
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit b3950b0

Please sign in to comment.