summaryrefslogtreecommitdiff
path: root/modules/csg
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-22 16:54:47 +0200
committerGitHub <noreply@github.com>2022-08-22 16:54:47 +0200
commitfdc36ad08290a8453d26fce3d8b7b13bd8cd5a1a (patch)
tree47e6499e7f52dd6b50a99c8382b1c21ae4e7a6cc /modules/csg
parentff7c10f709448755d8f1e1d2a98db2d2c1858d4c (diff)
parentc25b8f287653b4f7fc47d58488c35c3d26e30dea (diff)
Merge pull request #64553 from RedMser/fix-property-validation-refactor
Diffstat (limited to 'modules/csg')
-rw-r--r--modules/csg/csg_shape.cpp2
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);
}