You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #106111 from Calinou/animationmixer-libraries-use-typed-dictionary
Use a type-hinted dictionary for AnimationLibrary's `libraries` property
This commit is contained in:
@@ -108,7 +108,7 @@ bool AnimationMixer::_get(const StringName &p_name, Variant &r_ret) const {
|
||||
|
||||
void AnimationMixer::_get_property_list(List<PropertyInfo> *p_list) const {
|
||||
List<PropertyInfo> anim_names;
|
||||
anim_names.push_back(PropertyInfo(Variant::DICTIONARY, PNAME("libraries")));
|
||||
anim_names.push_back(PropertyInfo(Variant::DICTIONARY, PNAME("libraries"), PROPERTY_HINT_DICTIONARY_TYPE, "StringName;AnimationLibrary"));
|
||||
for (const PropertyInfo &E : anim_names) {
|
||||
p_list->push_back(E);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user