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/noise/noise_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/noise') diff --git a/modules/noise/noise_texture.cpp b/modules/noise/noise_texture.cpp index ca55d3b96d..257a3ee8e6 100644 --- a/modules/noise/noise_texture.cpp +++ b/modules/noise/noise_texture.cpp @@ -97,7 +97,7 @@ void NoiseTexture::_bind_methods() { void NoiseTexture::_validate_property(PropertyInfo &property) const { if (property.name == "bump_strength") { if (!as_normal_map) { - property.usage = PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL; + property.usage = PROPERTY_USAGE_NO_EDITOR; } } -- cgit v1.2.3