Use property convention introduced in b085c4 (_ rather than / as separator).
Fixes #7476.
This commit is contained in:
parent
ca14dd296a
commit
81d9fe44df
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue