2.5 Paint:
[blender-staging.git] / release / ui / space_view3d_toolbar.py
index c4ee89bd1e9284f9758e2c6d57757054071c5942..c8dedd7431c602b82e23f6d4e20c38bb1cf1f30f 100644 (file)
@@ -296,14 +296,9 @@ class VIEW3D_PT_tools_brush(PaintPanel):
 
                if not context.particle_edit_object:
                        col = layout.split().column()
-                       if paint:
-                               row = col.row()
-                               row.template_list(settings, "brushes", settings, "active_brush_index", rows=2)
+                       row = col.row()
+                       row.template_list(settings, "brushes", settings, "active_brush_index", rows=2)
                                
-                               sub_col = row.column(align=True)
-                               sub_col.itemO("paint.brush_slot_add", icon="ICON_ZOOMIN", text="")
-                               sub_col.itemO("paint.brush_slot_remove", icon="ICON_ZOOMOUT", text="")
-
                        col.template_ID(settings, "brush", new="brush.add")
                 
                # Particle Mode #