You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix some animation state corruptions on activate and reset on save
This commit is contained in:
@@ -2157,6 +2157,7 @@ void AnimationPlayerEditorPlugin::_update_dummy_player(AnimationMixer *p_mixer)
|
||||
Node *parent = p_mixer->get_parent();
|
||||
ERR_FAIL_NULL(parent);
|
||||
dummy_player = memnew(AnimationPlayer);
|
||||
dummy_player->set_active(false); // Inactive as default, it will be activated if the AnimationPlayerEditor visibility is changed.
|
||||
parent->add_child(dummy_player);
|
||||
}
|
||||
player = dummy_player;
|
||||
|
||||
Reference in New Issue
Block a user