Fix T77067: GPencil Object without materials cannot use Vertex Color mode
This commit is contained in:
parent
2dd6d0ce4b
commit
5a1ab3e9ae
Notes:
blender-bot
2023-02-14 10:48:33 +01:00
Referenced by issue #77067, GPencil: Object without materials cannot use Vertex Color mode
|
@ -432,7 +432,7 @@ class _draw_tool_settings_context_mode:
|
|||
|
||||
row.prop(gp_settings, "use_material_pin", text="")
|
||||
|
||||
if brush.gpencil_tool in {'DRAW', 'FILL'} and ma:
|
||||
if brush.gpencil_tool in {'DRAW', 'FILL'}:
|
||||
row.separator(factor=1.0)
|
||||
subrow = row.row(align=True)
|
||||
row.prop_enum(settings, "color_mode", 'MATERIAL', text="", icon='MATERIAL')
|
||||
|
|
Loading…
Reference in New Issue