[Bf-blender-cvs] [1942e1e27a7] greasepencil-object: GPencil: Move move below color wheel in context menu
Antonio Vazquez
noreply at git.blender.org
Tue Nov 12 10:02:36 CET 2019
Commit: 1942e1e27a7849bd5a5f07a4a1ac2f9f3cf336bf
Author: Antonio Vazquez
Date: Tue Nov 12 10:02:28 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB1942e1e27a7849bd5a5f07a4a1ac2f9f3cf336bf
GPencil: Move move below color wheel in context menu
===================================================================
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 f62e6dd6d07..49a9501cd4d 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6682,9 +6682,10 @@ class VIEW3D_PT_gpencil_draw_context_menu(Panel):
if brush.gpencil_tool not in {'ERASE', 'CUTTER', 'EYEDROPPER'} and settings.use_vertex_color:
col = layout.column()
- col.prop(gp_settings, "vertex_mode", text="Mode")
col.template_color_picker(brush, "color", value_slider=True)
col.separator()
+ col.prop_menu_enum(gp_settings, "vertex_mode", text="Mode")
+ col.separator()
if brush.gpencil_tool not in {'FILL', 'CUTTER'}:
layout.prop(brush, "size", slider=True)
@@ -6727,9 +6728,10 @@ class VIEW3D_PT_gpencil_vertex_context_menu(Panel):
col = layout.column()
if brush.gpencil_vertex_tool in ('DRAW', 'REPLACE'):
- col.prop(gp_settings, "vertex_mode", text="Mode")
col.template_color_picker(brush, "color", value_slider=True)
col.separator()
+ col.prop_menu_enum(gp_settings, "vertex_mode", text="Mode")
+ col.separator()
row = col.row(align=True)
row.prop(brush, "size", text="Radius")
More information about the Bf-blender-cvs
mailing list