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
path: root/source
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-09-24 23:26:21 +0300
committerAntonioya <blendergit@gmail.com>2018-09-24 23:26:21 +0300
commitac747c96d99ff51b1730470957bd273a2329a9c3 (patch)
treec3127244c04155a7e4fb0bda19e23270ec25e352 /source
parent2b628ba52b73eadec587354ed29ed59cf946b226 (diff)
GP: Move Unlock Color to Adjustments panel
This option is not used all the time and can be moved to additional panel
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_gpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index de8404d3e03..6fd44655bff 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -1100,7 +1100,7 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
/* Unlock colors */
prop = RNA_def_property(srna, "unlock_color", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_UNLOCK_COLOR);
- RNA_def_property_ui_icon(prop, ICON_RESTRICT_COLOR_OFF, 1);
+ 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_update(prop, NC_GPENCIL | ND_DATA, NULL);