You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -680,7 +680,7 @@ void AnimationPlayerEditor::set_state(const Dictionary &p_state) {
|
||||
|
||||
if (p_state.has("animation")) {
|
||||
String anim = p_state["animation"];
|
||||
if (!anim.empty() && player->has_animation(anim)) {
|
||||
if (!anim.is_empty() && player->has_animation(anim)) {
|
||||
_select_anim_by_name(anim);
|
||||
_animation_edit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user