Fix T77067: GPencil Object without materials cannot use Vertex Color mode
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user