[Bf-blender-cvs] [a8b339ed0a3] greasepencil-refactor: GPencil: Fix missing Vertex Top options in texture material
Antonio Vazquez
noreply at git.blender.org
Sun Jan 12 10:04:29 CET 2020
Commit: a8b339ed0a34cdab3b823f16fd8fea6bbc7dcb9c
Author: Antonio Vazquez
Date: Sun Jan 12 10:04:22 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBa8b339ed0a34cdab3b823f16fd8fea6bbc7dcb9c
GPencil: Fix missing Vertex Top options in texture material
===================================================================
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 9c8226ab4dd..2a23ef634c9 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -434,17 +434,16 @@ class _draw_tool_settings_context_mode:
if brush.gpencil_tool in {'DRAW', 'FILL'} and ma:
gp_style = ma.grease_pencil
- if gp_style.stroke_style != 'TEXTURE':
- row.separator(factor=0.4)
- row.prop(settings, "use_vertex_color", text="",
- icon='CHECKBOX_HLT' if settings.use_vertex_color else 'CHECKBOX_DEHLT')
- sub_row = row.row(align=True)
- sub_row.enabled = settings.use_vertex_color
- sub_row.prop(brush, "color", text="")
- sub_row.popover(
- panel="TOPBAR_PT_gpencil_vertexcolor",
- text="Vertex Color",
- )
+ row.separator(factor=0.4)
+ row.prop(settings, "use_vertex_color", text="",
+ icon='CHECKBOX_HLT' if settings.use_vertex_color else 'CHECKBOX_DEHLT')
+ sub_row = row.row(align=True)
+ sub_row.enabled = settings.use_vertex_color
+ sub_row.prop(brush, "color", text="")
+ sub_row.popover(
+ panel="TOPBAR_PT_gpencil_vertexcolor",
+ text="Vertex Color",
+ )
row = layout.row(align=True)
tool_settings = context.scene.tool_settings
More information about the Bf-blender-cvs
mailing list