mirror of https://github.com/godotengine/godot
AnimationTreePlayer (_process_node:TIMESEEK): allow auto-advance with 0 xfade.
This commit is contained in:
parent
7fe28d4168
commit
0a9c8a9f36
|
|
@ -674,7 +674,7 @@ float AnimationTreePlayer::_process_node(const StringName& p_node,AnimationNode
|
|||
else
|
||||
tn->time+=p_time;
|
||||
|
||||
if (tn->input_data[tn->current].auto_advance && rem < tn->xfade) {
|
||||
if (tn->input_data[tn->current].auto_advance && rem <= tn->xfade) {
|
||||
|
||||
tn->prev=tn->current;
|
||||
tn->current++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue