From ea978e4471f130d58d76b543e3e75e4999c27313 Mon Sep 17 00:00:00 2001 From: "Silc Lizard (Tokage) Renew" <61938263+TokageItLab@users.noreply.github.com> Date: Thu, 1 Jan 2026 04:29:35 +0900 Subject: [PATCH] Fix AnimationPlayerEditor failed to fetch AnimationTree's libraries --- editor/animation/animation_player_editor_plugin.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/editor/animation/animation_player_editor_plugin.cpp b/editor/animation/animation_player_editor_plugin.cpp index e09223b5b8d..5c4df16f2f8 100644 --- a/editor/animation/animation_player_editor_plugin.cpp +++ b/editor/animation/animation_player_editor_plugin.cpp @@ -2440,6 +2440,13 @@ void AnimationPlayerEditorPlugin::_update_dummy_player(AnimationMixer *p_mixer) } memdelete(default_node); + // Library list is dynamically added to property list, should be copied explicitly. + List libraries; + p_mixer->get_animation_library_list(&libraries); + for (const StringName &K : libraries) { + dummy_player->add_animation_library(K, p_mixer->get_animation_library(K)); + } + if (anim_editor) { anim_editor->_update_player(); }