diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-17 07:16:14 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-17 07:16:14 +0400 |
commit | 73ea51eccd1c08844f136bb23fa3b7a3098e3aa0 (patch) | |
tree | c4151fcdf7d6153d4bf493c7c4452ad48975bde9 /release | |
parent | 9d2d3a8be7c3c0b101e7f0f33bb1a04c69deaf67 (diff) |
2.5/Sculpt:
* 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.
Diffstat (limited to 'release')
-rw-r--r-- | release/ui/space_view3d_toolbar.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/release/ui/space_view3d_toolbar.py b/release/ui/space_view3d_toolbar.py index 9afcfbb7bdd..35c2400da4b 100644 --- a/release/ui/space_view3d_toolbar.py +++ b/release/ui/space_view3d_toolbar.py @@ -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) |