You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
[Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@@ -855,7 +855,7 @@ void SpriteFramesEditor::_animation_selected() {
|
||||
}
|
||||
|
||||
TreeItem *selected = animations->get_selected();
|
||||
ERR_FAIL_COND(!selected);
|
||||
ERR_FAIL_NULL(selected);
|
||||
edited_anim = selected->get_text(0);
|
||||
|
||||
if (animated_sprite) {
|
||||
|
||||
Reference in New Issue
Block a user