Fix problem blending from state to state in statemachine node, closes #21944
This commit is contained in:
parent
2ad6212a3f
commit
70d6d0fa69
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ float AnimationNodeStateMachinePlayback::process(AnimationNodeStateMachine *sm,
|
|||
|
||||
if (fading_from != StringName()) {
|
||||
|
||||
sm->blend_node(current, sm->states[fading_from].node, p_time, p_seek, 1.0 - fade_blend, AnimationNode::FILTER_IGNORE, false);
|
||||
sm->blend_node(fading_from, sm->states[fading_from].node, p_time, p_seek, 1.0 - fade_blend, AnimationNode::FILTER_IGNORE, false);
|
||||
}
|
||||
|
||||
//guess playback position
|
||||
|
|
Loading…
Reference in a new issue