summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-18 22:01:57 -0300
committerGitHub <noreply@github.com>2017-01-18 22:01:57 -0300
commit34016a8b738c36b214fb79d66ba546aabab72e9e (patch)
tree82dc23a3a20462cc8862f2a238f0a7d489325ea1
parentca14dd296a9ce9f39cefe378fda5e127375970f4 (diff)
parent81d9fe44df817f390e05592c25e5634973494d0e (diff)
Merge pull request #7577 from tagcup/issue_7476
Use property convention introduced in b085c4 (_ rather than / as sepa…
-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;
}