mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-21 06:26:38 +00:00
AnimationTreePlayer (_process_node:TIMESEEK): allow auto-advance with 0 xfade.
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user