We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ea7f5e + f169616 commit efc7c62Copy full SHA for efc7c62
scene/animation/animation_blend_tree.cpp
@@ -1139,7 +1139,11 @@ void AnimationNodeTransition::remove_input(int p_index) {
1139
1140
bool AnimationNodeTransition::set_input_name(int p_input, const String &p_name) {
1141
pending_update = true;
1142
- return AnimationNode::set_input_name(p_input, p_name);
+ if (!AnimationNode::set_input_name(p_input, p_name)) {
1143
+ return false;
1144
+ }
1145
+ emit_signal(SNAME("tree_changed")); // For updating enum options.
1146
+ return true;
1147
}
1148
1149
void AnimationNodeTransition::set_input_as_auto_advance(int p_input, bool p_enable) {
0 commit comments