Skip to content

Commit

Permalink
Merge pull request #82563 from TokageItLab/fix-reset-group
Browse files Browse the repository at this point in the history
Fix GroupedStateMachine reset
  • Loading branch information
akien-mga committed Sep 30, 2023
2 parents b97af40 + 599f0db commit 0ca8542
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 0ca8542

Please sign in to comment.