Fix ui errors for brush toolbar

This commit is contained in:
Dalai Felinto
2018-10-31 19:18:27 -03:00
parent bb3219d2b1
commit 679e0daaf8

View File

@@ -1073,6 +1073,9 @@ class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel):
def draw(self, context):
layout = self.layout
settings = self.paint_settings(context)
brush = settings.brush
if brush is None: # unlikely but can happen
layout.label(text="Brush Unset")
return