You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Fix sprite frame editor crash with null frames pounter
This commit is contained in:
@@ -953,7 +953,7 @@ void SpriteFramesEditor::_sync_animation() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SpriteFramesEditor::_select_animation(const String &p_name, bool p_update_node) {
|
void SpriteFramesEditor::_select_animation(const String &p_name, bool p_update_node) {
|
||||||
if (!frames->has_animation(p_name)) {
|
if (frames.is_null() || !frames->has_animation(p_name)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
edited_anim = p_name;
|
edited_anim = p_name;
|
||||||
|
|||||||
Reference in New Issue
Block a user