From e9ff1b98cb98562096b12e8e292d7ce55ac38f15 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 15 Feb 2011 19:19:36 +0000 Subject: - Do not use old anchor toggling operator. It used to set brush flags to unawaliable state. - Also changed dynamic space bar menu, so it now also wouldn't allow to set brush stroke flags to unavaliable state. Also tried to remove use_anchor, use_space, use_restore_mesh and use_airbrush, so user would be unable to set flags to unavaliable state, but it was quite difficult for non-sculpt paint modes. They don't support all of stroke methods, so brush.stroke_method can't be used for them. Keep this area unchanged for now. --- release/scripts/ui/space_view3d.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'release') diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py index 162322a8720..813539579b8 100644 --- a/release/scripts/ui/space_view3d.py +++ b/release/scripts/ui/space_view3d.py @@ -1070,10 +1070,7 @@ class VIEW3D_MT_sculpt(bpy.types.Menu): sculpt_tool = brush.sculpt_tool if sculpt_tool != 'GRAB': - layout.prop(brush, "use_airbrush") - - if sculpt_tool != 'LAYER': - layout.prop(brush, "use_anchor") + layout.prop_menu_enum(brush, "stroke_method") if sculpt_tool in ('DRAW', 'PINCH', 'INFLATE', 'LAYER', 'CLAY'): layout.prop_menu_enum(brush, "direction") -- cgit v1.2.3