mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Make unstore AnimationLibrary if AnimationTree is assigned Player
This commit is contained in:
parent
a0d7649192
commit
c380b1296a
@ -799,6 +799,9 @@ void AnimationTree::_validate_property(PropertyInfo &p_property) const {
|
||||
if (p_property.name == "root_node" || p_property.name.begins_with("libraries")) {
|
||||
p_property.usage |= PROPERTY_USAGE_READ_ONLY;
|
||||
}
|
||||
if (p_property.name.begins_with("libraries")) {
|
||||
p_property.usage &= ~PROPERTY_USAGE_STORAGE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user