Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-08-17 19:05:18 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-08-17 19:05:18 +0400
commitb0fe88117b923da49486f765521ed4c3d1b58965 (patch)
treebe634f428bf61da291078d6a93cd0b687d6d1c84 /release
parent9f973bca78877a10b6da5a11b3bafc946879050c (diff)
2.5 Paint:
* Updated the brush selection UI to make the slots less apparent; adding and removing brushes now directly adds and removes slots.
Diffstat (limited to 'release')
-rw-r--r--release/ui/space_view3d_toolbar.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/release/ui/space_view3d_toolbar.py b/release/ui/space_view3d_toolbar.py
index c4ee89bd1e9..c8dedd7431c 100644
--- a/release/ui/space_view3d_toolbar.py
+++ b/release/ui/space_view3d_toolbar.py
@@ -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 #