[Bf-blender-cvs] [b8b2fc56603] greasepencil-object: Add color picker button
Antonio Vazquez
noreply at git.blender.org
Sun Jan 21 16:26:08 CET 2018
Commit: b8b2fc566032a289f6f2fa6780e0c52486bbcf17
Author: Antonio Vazquez
Date: Sun Jan 21 16:25:57 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBb8b2fc566032a289f6f2fa6780e0c52486bbcf17
Add color picker button
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 02ca4c2227d..3fafcd3583a 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -180,6 +180,9 @@ class VIEW3D_HT_header(Header):
col.enabled = gpd.use_multiedit
col.prop(gpd, "show_multiedit_line_only", text="", icon="GHOST")
+ if gpd.is_stroke_paint_mode:
+ row = layout.row(align=True)
+ row.operator("gpencil.colorpick", text="Colors", icon="GROUP_VCOL")
class VIEW3D_MT_editor_menus(Menu):
bl_space_type = 'VIEW3D_MT_editor_menus'
More information about the Bf-blender-cvs
mailing list