Fix UI failing for vertex paint
This commit is contained in:
parent
fc7316fb54
commit
b1dae7bd6f
Notes:
blender-bot
2023-02-14 07:53:51 +01:00
Referenced by issue #55061, Workbench shadows don't update during sculpting
|
@ -238,7 +238,10 @@ class TOPBAR_HT_lower_bar(Header):
|
|||
if object_mode not in {'SCULPT', 'VERTEX_PAINT', 'WEIGHT_PAINT', 'TEXTURE_PAINT'}:
|
||||
show_snap = True
|
||||
else:
|
||||
|
||||
from .properties_paint_common import UnifiedPaintPanel
|
||||
paint_settings = UnifiedPaintPanel.paint_settings(context)
|
||||
|
||||
if paint_settings:
|
||||
brush = paint_settings.brush
|
||||
if brush and brush.stroke_method == 'CURVE':
|
||||
|
|
Loading…
Reference in New Issue