Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scene/animation/animation_mixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ bool AnimationMixer::_get(const StringName &p_name, Variant &r_ret) const {
}

uint32_t AnimationMixer::_get_libraries_property_usage() const {
return PROPERTY_USAGE_DEFAULT;
return PROPERTY_USAGE_STORAGE;
}

void AnimationMixer::_get_property_list(List<PropertyInfo> *p_list) const {
Expand Down
4 changes: 2 additions & 2 deletions scene/animation/animation_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -902,9 +902,9 @@ void AnimationTree::_setup_animation_player() {
// `libraries` is a dynamic property, so we can't use `_validate_property` to change it.
uint32_t AnimationTree::_get_libraries_property_usage() const {
if (!animation_player.is_empty()) {
return PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_READ_ONLY;
return PROPERTY_USAGE_READ_ONLY;
}
return PROPERTY_USAGE_DEFAULT;
return PROPERTY_USAGE_STORAGE;
}

void AnimationTree::_validate_property(PropertyInfo &p_property) const {
Expand Down