Skip to content

Commit

Permalink
Fix GroupedStateMachine reset
Browse files Browse the repository at this point in the history
  • Loading branch information
TokageItLab committed Sep 30, 2023
1 parent 44e399e commit 599f0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/animation/animation_node_state_machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,9 @@ double AnimationNodeStateMachinePlayback::_process(const String &p_base_path, An
if (p_state_machine->get_state_machine_type() != AnimationNodeStateMachine::STATE_MACHINE_TYPE_GROUPED) {
path.clear();
_clear_path_children(tree, p_state_machine, p_test_only);
_start(p_state_machine);
}
reset_request = true;
_start(p_state_machine);
} else {
// Reset current state.
reset_request = true;
Expand Down

0 comments on commit 599f0db

Please sign in to comment.