From c25b8f287653b4f7fc47d58488c35c3d26e30dea Mon Sep 17 00:00:00 2001 From: RedMser Date: Thu, 18 Aug 2022 16:25:00 +0200 Subject: Remove unintentional PROPERTY_USAGE_INTERNAL The flag only matters for property definition, but was also used in _validate_property a lot. --- modules/csg/csg_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/csg') 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); } -- cgit v1.2.3