From b1dae7bd6f9c811c9c6dcbbafd49db2afe7c8bdb Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Mon, 14 May 2018 16:11:05 +0200 Subject: [PATCH] Fix UI failing for vertex paint --- release/scripts/startup/bl_ui/space_topbar.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 27933e05fbf..719396ccdd1 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -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':