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-09 21:21:40 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-08-09 21:21:40 +0400
commitc1ca2ab5dceb8d5355215a3c7a80b171f394e487 (patch)
tree8e428dba4ed0b6898e951350fb93641b9564a6f8 /release
parentb58083ea5514699656d7937a80efb7e4bc9581f2 (diff)
Sculpt/2.5:
* Added toolbar UI for setting "anchored" mode * Added a "persistent" mode for the layer brush; basically you can keep sculpting on the same layer between strokes when this is on. There's a button to reset the base so you can add another layer on top of that, and so on. This feature was suggested by Blenderer on BA, thanks! Note, I think these options could use better names in the UI, but I couldn't really think of anything very descriptive, suggestions welcome
Diffstat (limited to 'release')
-rw-r--r--release/ui/space_view3d_toolbar.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/ui/space_view3d_toolbar.py b/release/ui/space_view3d_toolbar.py
index dd8a265947a..6edf57c7f58 100644
--- a/release/ui/space_view3d_toolbar.py
+++ b/release/ui/space_view3d_toolbar.py
@@ -369,8 +369,15 @@ class VIEW3D_PT_tools_brush(PaintPanel):
col = layout.column()
col.itemR(brush, "airbrush")
+ if brush.sculpt_tool != 'LAYER':
+ col.itemR(brush, "anchored")
+
if brush.sculpt_tool in ('DRAW', 'PINCH', 'INFLATE', 'LAYER', 'CLAY'):
col.itemR(brush, "flip_direction")
+
+ if brush.sculpt_tool == 'LAYER':
+ col.itemR(brush, "persistent")
+ col.itemO("sculpt.set_persistent_base")
# Texture Paint Mode #