1
0
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:
Silc Lizard (Tokage) Renew
2023-12-31 01:20:44 +09:00
parent ae51db75e7
commit 772a753960
4 changed files with 21 additions and 5 deletions

View File

@@ -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;