[Bf-blender-cvs] [27e13a608f6] master: GPencil: Change UI text and tooltip

Antonio Vazquez noreply at git.blender.org
Thu Apr 15 14:23:11 CEST 2021


Commit: 27e13a608f605d16ccc68b5922d7124d8ccc3006
Author: Antonio Vazquez
Date:   Thu Apr 15 14:22:57 2021 +0200
Branches: master
https://developer.blender.org/rB27e13a608f605d16ccc68b5922d7124d8ccc3006

GPencil: Change UI text and tooltip

The text was not changed in the refactor and had the old text.

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

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 1a0497b72f4..1fbbffa99d5 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -2197,7 +2197,10 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "use_mask_layer", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_USE_MASK);
-  RNA_def_property_ui_text(prop, "Mask Layer", "Mask pixels from underlying layers drawing");
+  RNA_def_property_ui_text(
+      prop,
+      "Use Mask",
+      "The visibility of drawings on this layer is affected by the layers in its masks list");
   RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
 
   prop = RNA_def_property(srna, "use_lights", PROP_BOOLEAN, PROP_NONE);



More information about the Bf-blender-cvs mailing list