You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
@@ -1018,7 +1018,7 @@ void AnimationNodeStateMachineEditor::_add_animation_type(int p_index) {
|
|||||||
|
|
||||||
anim->set_animation(animations_to_add[p_index]);
|
anim->set_animation(animations_to_add[p_index]);
|
||||||
|
|
||||||
String base_name = animations_to_add[p_index];
|
String base_name = animations_to_add[p_index].validate_node_name();
|
||||||
int base = 1;
|
int base = 1;
|
||||||
String name = base_name;
|
String name = base_name;
|
||||||
while (state_machine->has_node(name)) {
|
while (state_machine->has_node(name)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user