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:
authorWilliam Reynish <william@reynish.com>2009-09-13 23:37:51 +0400
committerWilliam Reynish <william@reynish.com>2009-09-13 23:37:51 +0400
commitbe7eeb888af6cebe5d4162faa6e1b7551312410a (patch)
tree02d8fb65e96ded24684899720cb59971ac96b6db /release/ui
parent8c6176b84688fae585952992676d56903113c040 (diff)
Sculpt UI
*Changed Sculpt Modes Flip Direction to an enum so that you can explicitly choose Add or Subtract. *Expanded the sculpt tool list. I realize Nicolas has a longer term plan for the brush tools, but at least now it's useable again.
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/space_view3d_toolbar.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/ui/space_view3d_toolbar.py b/release/ui/space_view3d_toolbar.py
index 9dd2df14492..40ebb6883f0 100644
--- a/release/ui/space_view3d_toolbar.py
+++ b/release/ui/space_view3d_toolbar.py
@@ -399,7 +399,9 @@ class VIEW3D_PT_tools_brush(PaintPanel):
elif context.sculpt_object and settings.brush:
col = layout.column()
col.itemS()
-
+ col.itemR(brush, "sculpt_tool", expand=True)
+ col.itemS()
+
row = col.row(align=True)
row.itemR(brush, "size", slider=True)
row.itemR(brush, "size_pressure", toggle=True, text="")
@@ -412,13 +414,13 @@ class VIEW3D_PT_tools_brush(PaintPanel):
col = layout.column()
if brush.sculpt_tool in ('DRAW', 'PINCH', 'INFLATE', 'LAYER', 'CLAY'):
- col.itemR(brush, "flip_direction")
+ col.row().itemR(brush, "direction", expand=True)
if brush.sculpt_tool == 'LAYER':
col.itemR(brush, "persistent")
col.itemO("sculpt.set_persistent_base")
- col.itemR(brush, "sculpt_tool")
+
# Texture Paint Mode #