UI: Rename masking property to better reflect its usage
The MaskLayer.invert property has "Restrict View" as its label. I suspect this was an error during the commit that introduced the feature. This commit simply renames it to "Invert". Reported by Gabriel Gazzán. Pull Request: https://projects.blender.org/blender/blender/pulls/132521
This commit is contained in:
committed by
Pablo Vazquez
parent
ff804882bd
commit
18f145d1ac
@@ -1029,7 +1029,7 @@ static void rna_def_mask_layer(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "invert", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, nullptr, "blend_flag", MASK_BLENDFLAG_INVERT);
|
||||
RNA_def_property_ui_text(prop, "Restrict View", "Invert the mask black/white");
|
||||
RNA_def_property_ui_text(prop, "Invert", "Invert the mask black/white");
|
||||
RNA_def_property_update(prop, NC_MASK | NA_EDITED, nullptr);
|
||||
|
||||
prop = RNA_def_property(srna, "falloff", PROP_ENUM, PROP_NONE);
|
||||
|
||||
Reference in New Issue
Block a user