1
0
Fork 0

Merge pull request #114482 from TokageItLab/fix-atedit

Fix AnimationPlayerEditor failed to fetch AnimationTree's libraries
This commit is contained in:
Rémi Verschelde 2026-01-01 08:58:59 +01:00 committed by GitHub
commit 329bc5867c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -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<StringName> 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();
}