Texture/Vertex Paint: Add secondary color to the tool header
Before we would only display the secondary color in the N-panel. Now we also display it in the tool header.
This commit is contained in:
parent
be8f10a4e2
commit
a25cfc5db2
|
@ -1107,7 +1107,11 @@ def brush_basic_texpaint_settings(layout, context, brush, *, compact=False):
|
|||
capabilities = brush.image_paint_capabilities
|
||||
|
||||
if capabilities.has_color:
|
||||
UnifiedPaintPanel.prop_unified_color(layout, context, brush, "color", text="")
|
||||
row = layout.row(align=True)
|
||||
row.ui_units_x = 4
|
||||
UnifiedPaintPanel.prop_unified_color(row, context, brush, "color", text="")
|
||||
UnifiedPaintPanel.prop_unified_color(row, context, brush, "secondary_color", text="")
|
||||
row.separator()
|
||||
layout.prop(brush, "blend", text="" if compact else "Blend")
|
||||
|
||||
UnifiedPaintPanel.prop_unified(
|
||||
|
|
Loading…
Reference in New Issue