Merge pull request #7577 from tagcup/issue_7476
Use property convention introduced in b085c4 (_ rather than / as sepa…
This commit is contained in:
commit
34016a8b73
|
@ -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 {
|
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;
|
property.usage=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue