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/noise | |
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/noise')
-rw-r--r-- | modules/noise/noise_texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |