2.5/Sculpt:
authorNicholas Bishop <nicholasbishop@gmail.com>
Mon, 17 Aug 2009 03:16:14 +0000 (03:16 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Mon, 17 Aug 2009 03:16:14 +0000 (03:16 +0000)
* Some UI fixes suggested by broken, removed specialized Add Brush menu in favor of standard ID add button, also put a separator between brush selection and brush properties.

release/ui/space_view3d_toolbar.py

index 9afcfbb7bdd744c2240e537e203423be62c90c5d..35c2400da4b551de1166f19caab1425281312189 100644 (file)
@@ -304,10 +304,6 @@ class VIEW3D_PT_tools_brush(PaintPanel):
                                sub_col.itemO("paint.brush_slot_add", icon="ICON_ZOOMIN", text="")
                                sub_col.itemO("paint.brush_slot_remove", icon="ICON_ZOOMOUT", text="")
 
-               if context.sculpt_object:
-                       col.template_ID(settings, "brush")
-                       col.item_menu_enumO("sculpt.brush_add", "sculpt_tool");
-               else:
                        col.template_ID(settings, "brush", new="brush.add")
                 
                # Particle Mode #
@@ -336,9 +332,10 @@ class VIEW3D_PT_tools_brush(PaintPanel):
                                layout.itemR(brush, "puff_mode", expand=True)
 
                # Sculpt Mode #
-               
+
                elif context.sculpt_object and settings.brush:
                        col = layout.column()
+                       col.itemS()
                                
                        row = col.row(align=True)
                        row.itemR(brush, "size", slider=True)