mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove unintentional PROPERTY_USAGE_INTERNAL
The flag only matters for property definition, but was also used in _validate_property a lot.
This commit is contained in:
parent
83f2723893
commit
c25b8f2876
9 changed files with 30 additions and 30 deletions
|
@ -590,7 +590,7 @@ void CSGShape3D::_validate_property(PropertyInfo &property) const {
|
|||
//hide collision if not root
|
||||
property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
} else if (is_collision_prefixed && !bool(get("use_collision"))) {
|
||||
property.usage = PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL;
|
||||
property.usage = PROPERTY_USAGE_NO_EDITOR;
|
||||
}
|
||||
GeometryInstance3D::_validate_property(property);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue