You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
General fixes for the AnimationTree editor
This commit is contained in:
@@ -1073,7 +1073,9 @@ void AnimationNodeStateMachineEditor::_name_edited(const String &p_text) {
|
||||
|
||||
ERR_FAIL_COND(new_name == "" || new_name.find(".") != -1 || new_name.find("/") != -1)
|
||||
|
||||
ERR_FAIL_COND(new_name == prev_name);
|
||||
if (new_name == prev_name) {
|
||||
return; // Nothing to do.
|
||||
}
|
||||
|
||||
String base_name = new_name;
|
||||
int base = 1;
|
||||
|
||||
Reference in New Issue
Block a user