From 81d9fe44df817f390e05592c25e5634973494d0e Mon Sep 17 00:00:00 2001 From: Ferenc Arn Date: Wed, 18 Jan 2017 18:56:27 -0600 Subject: Use property convention introduced in b085c4 (_ rather than / as separator). Fixes #7476. --- scene/resources/material.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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; } -- cgit v1.2.3