GPencil: Change "lock_material" tooltip and text

The old name was not clear. Detected while writting the manual.
This commit is contained in:
Antonio Vazquez 2019-06-26 20:55:52 +02:00
parent d93558e914
commit 69b3c26e75
1 changed files with 2 additions and 1 deletions

View File

@ -1431,7 +1431,8 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
prop = RNA_def_property(srna, "lock_material", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_LAYER_UNLOCK_COLOR);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_ui_text(prop, "Lock Material", "Disable Material editing");
RNA_def_property_ui_text(
prop, "Disallow Locked Materials Editing", "Avoids editing locked materials in the layer");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, NULL);
prop = RNA_def_property(srna, "clamp_layer", PROP_BOOLEAN, PROP_NONE);