* closed small gap at top of appearance panel

This commit is contained in:
Jason Wilkins
2010-07-21 11:58:23 +00:00
parent 66ce15b7af
commit e3ad451ae1

View File

@@ -1108,9 +1108,9 @@ class VIEW3D_PT_tools_brush_appearance(PaintPanel):
settings = self.paint_settings(context)
brush = settings.brush
col = layout.column();
if context.sculpt_object and context.tool_settings.sculpt:
col = layout.column();
#if brush.sculpt_tool in ('DRAW', 'INFLATE', 'CLAY', 'CLAY_TUBES', 'PINCH', 'CREASE', 'BLOB', 'FLATTEN', 'FILL', 'SCRAPE'):
if brush.sculpt_tool in ('DRAW', 'INFLATE', 'CLAY', 'PINCH', 'CREASE', 'BLOB', 'FLATTEN', 'FILL', 'SCRAPE'):
col.prop(brush, "add_col", text="Add Color")
@@ -1118,7 +1118,7 @@ class VIEW3D_PT_tools_brush_appearance(PaintPanel):
else:
col.prop(brush, "add_col", text="Color")
col.separator()
col.separator()
col = layout.column()
col.label(text="Icon:")