Fix godot crash in SpriteFrames in the AnimatedSprite2D and 3D
(cherry picked from commit f03e744178d4dce8d607211e8c5cd8e123dcb5f5)
This commit is contained in:
1 parent
e81a78b11d
commit
f697eea0a4
1 file changed
+1
@@ -1808,6 +1808,7 @@ void SpriteFramesEditor::edit(Ref<SpriteFrames> p_frames) {
|
||||
if (p_frames.is_null()) {
|
||||
frames.unref();
|
||||
_remove_sprite_node();
|
||||
close();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user