diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-05-14 17:11:05 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-05-14 17:11:05 +0300 |
commit | b1dae7bd6f9c811c9c6dcbbafd49db2afe7c8bdb (patch) | |
tree | b76fa2810c9458c77a798911788f287b000fc127 /release/scripts/startup | |
parent | fc7316fb544d1e9806c3a19705fdf1a3dc24b30b (diff) |
Fix UI failing for vertex paint
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 3 |
1 files changed, 3 insertions, 0 deletions
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': |