diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-09-14 03:58:00 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-09-14 03:58:00 +0400 |
commit | b1179c4752395b5b3247e5a22587f4b65e45d72d (patch) | |
tree | fba66b5fa5940f8f7c9777c33548de4f3cf30f33 /release/scripts/startup/bl_ui/space_view3d_toolbar.py | |
parent | 8f3a40830d6679c8ad3d1c5ecc60bf8f49a21ec0 (diff) |
Sculpting:
* Cleanup for previous commit and reduce some local variable referencing
* Add support for brushes that operate on frontfaces only and do not
show the option for those brushes. Currently only clay strips is in the
list but this may change according to artist feedback. This should take
care of the "sticky" surface problem completely.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index d01df810307..ee7191f4662 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -642,9 +642,10 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel): row.prop(brush, "height", slider=True, text="Height") # use_frontface - col.separator() - row = col.row() - row.prop(brush, "use_frontface", text="Front Faces Only") + if capabilities.has_frontface: + col.separator() + row = col.row() + row.prop(brush, "use_frontface", text="Front Faces Only") # direction col.separator() |