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:
authorMatias Mendiola <mendio>2019-11-18 16:33:14 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-11-18 16:33:25 +0300
commitd66bc3807f922caa95452732d64abead9f50514f (patch)
treeb839a817c2e9b564390d5b81dcd751173bdee26d /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent71d65e881f2b6b7684258a8f1fce872078f431a9 (diff)
GPencil: Layers and Materials Specials menu updates
Rename and separate Layers and Materials Specials menu from other buttons for better consistency Reviewed By: antoniov Differential Revision: https://developer.blender.org/D6271
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index b6db3cf0b97..bc76f57fa86 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -858,6 +858,8 @@ class GreasePencilMaterialsPanel:
col.operator("object.material_slot_add", icon='ADD', text="")
col.operator("object.material_slot_remove", icon='REMOVE', text="")
+ col.separator()
+
col.menu("GPENCIL_MT_color_context_menu", icon='DOWNARROW_HLT', text="")
if is_sortable: