Skip to content

Commit e0a0f1b

Browse files
philterphilter
andcommitted
fix(editor): Fix crashes when resizing hierarchy panel and generating share link (#11556) 84435c6038
Fixes 2 crashes in editor: When the editor window is resized to a small size, then the hierarchy panel is resized, it can result in a dino crash An unrelated crash was discovered when trying to export a share link. Added a nullptr check to resolve it. Co-authored-by: Philip Chung <philterdesign@gmail.com>
1 parent 72973fe commit e0a0f1b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4c6e0011dada1276fe049bee2684ea293fb81a81
1+
84435c6038720d7d291c441dcdd8a810d6c29541

src/shapes/paint/target_effect.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ EffectPath* TargetEffect::createEffectPath() { return new TargetEffectPath(); }
9393

9494
void TargetEffect::invalidateEffect(PathProvider* pathProvider)
9595
{
96+
if (!m_groupEffect)
97+
{
98+
return;
99+
}
96100
if (pathProvider)
97101
{
98102
auto effectPathIt = m_effectPaths.find(pathProvider);

0 commit comments

Comments
 (0)