Improve wording on recursive AnimationNodeStateMachinePlayback transition detection warning

This commit is contained in:
Flyn San 2025-01-15 23:10:46 +10:00
parent 4ce466d7fa
commit 3af934bc9c

View file

@ -911,7 +911,7 @@ bool AnimationNodeStateMachinePlayback::_transition_to_next_recursive(AnimationT
}
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.
}