Skip to content

Commit 0793c62

Browse files
committed
Merge pull request #106111 from Calinou/animationmixer-libraries-use-typed-dictionary
Use a type-hinted dictionary for AnimationLibrary's `libraries` property
2 parents e9ddf57 + 006c9bb commit 0793c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/animation/animation_mixer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bool AnimationMixer::_get(const StringName &p_name, Variant &r_ret) const {
108108

109109
void AnimationMixer::_get_property_list(List<PropertyInfo> *p_list) const {
110110
List<PropertyInfo> anim_names;
111-
anim_names.push_back(PropertyInfo(Variant::DICTIONARY, PNAME("libraries")));
111+
anim_names.push_back(PropertyInfo(Variant::DICTIONARY, PNAME("libraries"), PROPERTY_HINT_DICTIONARY_TYPE, "StringName;AnimationLibrary"));
112112
for (const PropertyInfo &E : anim_names) {
113113
p_list->push_back(E);
114114
}

0 commit comments

Comments
 (0)