mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Fix problem blending from state to state in statemachine node, closes #21944
This commit is contained in:
parent
2ad6212a3f
commit
70d6d0fa69
@ -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 New Issue
Block a user