Skip to content

Commit

Permalink
Fix issue with nested artboards not updating follow path constraints.
Browse files Browse the repository at this point in the history
🤦🏼 https://2dimensions.slack.com/archives/CHMAP278R/p1691779191117059

Diffs=
e71ae68ba  Fix issue with nested artboards not updating follow path constraints. (#5810)

Co-authored-by: Luigi Rosso <[email protected]>
  • Loading branch information
luigi-rosso and luigi-rosso committed Aug 11, 2023
1 parent dcf7998 commit 00866e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cbc6ba291319eb8c3f05894c859dfc86cc4dddea
e71ae68ba09767f246bf3d779f38bb731cf7da9a
5 changes: 4 additions & 1 deletion src/shapes/path_composer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ void PathComposer::onDirty(ComponentDirt dirt)
{
if (m_deferredPathDirt)
{
addDirt(ComponentDirt::Path);
// We'd deferred the update, let's make sure the rest of our
// dependencies update too. Constraints need to update too, stroke
// effects, etc.
m_Shape->pathChanged();
}
}

Expand Down

0 comments on commit 00866e5

Please sign in to comment.