diff options
author | RedMser <redmser.jj2@gmail.com> | 2022-08-18 16:25:00 +0200 |
---|---|---|
committer | RedMser <redmser.jj2@gmail.com> | 2022-08-18 16:25:00 +0200 |
commit | c25b8f287653b4f7fc47d58488c35c3d26e30dea (patch) | |
tree | 99265114e9ef9fa8a60d97d3155a168b33ff3f66 /modules/csg | |
parent | 83f27238930858efdecc8dbfd92b701d04a7d986 (diff) |
Remove unintentional PROPERTY_USAGE_INTERNAL
The flag only matters for property definition,
but was also used in _validate_property a lot.
Diffstat (limited to 'modules/csg')
-rw-r--r-- | modules/csg/csg_shape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp index 56be4e65f0..7fc6608770 100644 --- a/modules/csg/csg_shape.cpp +++ b/modules/csg/csg_shape.cpp @@ -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); } |