Fix advancing based on condition in AnimationNodeStateMachinePlayback
This commit is contained in:
parent
f72f74486d
commit
6714f73d9e
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ float AnimationNodeStateMachinePlayback::process(AnimationNodeStateMachine *sm,
|
|||
auto_advance = true;
|
||||
}
|
||||
|
||||
if (sm->transitions[i].from == current && sm->transitions[i].transition->has_auto_advance()) {
|
||||
if (sm->transitions[i].from == current && auto_advance) {
|
||||
|
||||
if (sm->transitions[i].transition->get_priority() < priority_best) {
|
||||
auto_advance_to = i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue