From c1ca2ab5dceb8d5355215a3c7a80b171f394e487 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Sun, 9 Aug 2009 17:21:40 +0000 Subject: 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 --- release/ui/space_view3d_toolbar.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'release') 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 # -- cgit v1.2.3