GPencil: Added entry for the "Select Strokes Using Active COlor" operator to the...
authorJoshua Leung <aligorith@gmail.com>
Sat, 27 Aug 2016 12:09:16 +0000 (00:09 +1200)
committerJoshua Leung <aligorith@gmail.com>
Sat, 27 Aug 2016 12:09:16 +0000 (00:09 +1200)
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.

release/scripts/startup/bl_ui/properties_grease_pencil_common.py

index 90cf410036a3d616eafe11ffc484a4ae47ac13dd..677c7b9960e0f13791cb9f26a00b0a54cc50f225 100644 (file)
@@ -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