[Bf-blender-cvs] [69b3c26e75f] master: GPencil: Change "lock_material" tooltip and text

Antonioya noreply at git.blender.org
Wed Jun 26 20:58:35 CEST 2019


Commit: 69b3c26e75f00c2b3b4baf78b56733cd8662e8ef
Author: Antonioya
Date:   Wed Jun 26 20:55:52 2019 +0200
Branches: master
https://developer.blender.org/rB69b3c26e75f00c2b3b4baf78b56733cd8662e8ef

GPencil: Change "lock_material" tooltip and text

The old name was not clear. Detected while writting the manual.

===================================================================

M	source/blender/makesrna/intern/rna_gpencil.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 3b7a0a5a275..a3ef539d0d5 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -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);



More information about the Bf-blender-cvs mailing list