1
0
Fork 0

AnimationTreePlayer (_process_node:TIMESEEK): allow auto-advance with 0 xfade.

This commit is contained in:
Josh Grams 2016-03-31 12:12:05 -04:00
parent 7fe28d4168
commit 0a9c8a9f36
1 changed files with 1 additions and 1 deletions

View File

@ -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++;