Browse Source

Improve wording on recursive AnimationNodeStateMachinePlayback transition detection warning

Flyn San 7 months ago
parent
commit
3af934bc9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/animation/animation_node_state_machine.cpp

+ 1 - 1
scene/animation/animation_node_state_machine.cpp

@@ -911,7 +911,7 @@ bool AnimationNodeStateMachinePlayback::_transition_to_next_recursive(AnimationT
 		}
 		}
 
 
 		if (transition_path.has(next.node)) {
 		if (transition_path.has(next.node)) {
-			WARN_PRINT_ONCE_ED("AnimationNodeStateMachinePlayback: " + base_path + "playback aborts the transition by detecting one or more looped transitions in the same frame to prevent to infinity loop. You may need to check the transition settings.");
+			WARN_PRINT_ONCE_ED("AnimationNodeStateMachinePlayback: " + base_path + "playback has detected one or more looped transitions in a single frame and aborted to prevent an infinite loop. You may need to check the transition settings.");
 			break; // Maybe infinity loop, do nothing more.
 			break; // Maybe infinity loop, do nothing more.
 		}
 		}