summaryrefslogtreecommitdiff
path: root/scene/resources/material.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/material.cpp')
-rw-r--r--scene/resources/material.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp
index 112ecaae2f..e2e79970f9 100644
--- a/scene/resources/material.cpp
+++ b/scene/resources/material.cpp
@@ -732,7 +732,7 @@ Ref<Texture> FixedSpatialMaterial::get_texture(TextureParam p_param) const {
void FixedSpatialMaterial::_validate_feature(const String& text, Feature feature,PropertyInfo& property) const {
- if (property.name.begins_with(text) && property.name!=text+"/enabled" && !features[feature]) {
+ if (property.name.begins_with(text) && property.name!=text+"_enabled" && !features[feature]) {
property.usage=0;
}