mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Fix AnimationLibrary loading
This commit is contained in:
parent
b6223c0df0
commit
d25e36b015
@ -81,9 +81,8 @@ bool AnimationMixer::_set(const StringName &p_name, const Variant &p_value) {
|
||||
List<Variant> keys;
|
||||
d.get_key_list(&keys);
|
||||
for (const Variant &K : keys) {
|
||||
StringName lib_name = K;
|
||||
Ref<AnimationLibrary> lib = d[lib_name];
|
||||
add_animation_library(lib_name, lib);
|
||||
Ref<AnimationLibrary> lib = d[K];
|
||||
add_animation_library(K, lib);
|
||||
}
|
||||
emit_signal(SNAME("animation_libraries_updated"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user