Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-09-26 17:17:54 +0300
committerAntonioya <blendergit@gmail.com>2018-09-26 17:17:54 +0300
commit1cdf136846c9a5aa804eb757164ce78ffc90626a (patch)
tree7b27a588d42d015e82748bbfcb2cb23de8a62d5a /source/blender/makesrna/intern/rna_gpencil.c
parent9ac5eae433ca77200e79ccdc0096e5e8f41eef34 (diff)
GP: Rename parameter unlock_color and tooltip
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r--source/blender/makesrna/intern/rna_gpencil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 6fd44655bff..48e1261f815 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -1098,11 +1098,11 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
/* Unlock colors */
- prop = RNA_def_property(srna, "unlock_color", PROP_BOOLEAN, PROP_NONE);
+ prop = RNA_def_property(srna, "unlock_material", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_UNLOCK_COLOR);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
- RNA_def_property_ui_text(prop, "Unlock Color",
- "Unprotect selected colors from further editing and/or frame changes");
+ RNA_def_property_ui_text(prop, "Override Locked Materials",
+ "Allow Locked Materials edition");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, NULL);