Fix T77067: GPencil Object without materials cannot use Vertex Color mode

This commit is contained in:
Antonio Vazquez 2020-05-26 12:13:25 +02:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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')