[Bf-blender-cvs] [0a8344e] master: GPencil: Added entry for the "Select Strokes Using Active COlor" operator to the Colors panel dropdown

Joshua Leung noreply at git.blender.org
Sat Aug 27 14:09:33 CEST 2016


Commit: 0a8344e843633815c833aef64e4edf28d24fbf72
Author: Joshua Leung
Date:   Sun Aug 28 00:09:16 2016 +1200
Branches: master
https://developer.blender.org/rB0a8344e843633815c833aef64e4edf28d24fbf72

GPencil: Added entry for the "Select Strokes Using Active COlor" operator to the Colors panel dropdown

It was already present in a few of the Pie Menus, but it was hard to find it,
so I've included it here too for good measure.

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

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py

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

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 90cf410..677c7b9 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -749,6 +749,10 @@ class GPENCIL_MT_palettecolor_specials(Menu):
         layout.operator("gpencil.palettecolor_unlock_all", icon='UNLOCKED', text="UnLock All")
         layout.operator("gpencil.palettecolor_copy", icon='PASTEDOWN', text="Copy Color")
 
+        layout.separator()
+
+        layout.operator("gpencil.palettecolor_select", icon='COLOR', text="Select Strokes")
+
 
 class GreasePencilDataPanel:
     # subclass must set




More information about the Bf-blender-cvs mailing list