summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorFerenc Arn <tagcup@yahoo.com>2017-01-18 18:56:27 -0600
committerFerenc Arn <tagcup@yahoo.com>2017-01-18 18:56:27 -0600
commit81d9fe44df817f390e05592c25e5634973494d0e (patch)
tree82dc23a3a20462cc8862f2a238f0a7d489325ea1 /scene/resources
parentca14dd296a9ce9f39cefe378fda5e127375970f4 (diff)
Use property convention introduced in b085c4 (_ rather than / as separator).
Fixes #7476.
Diffstat (limited to 'scene/resources')
-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;
}