diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-20 00:55:46 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-11-26 03:21:04 +0400 |
commit | 19089092739cce491888a7fa0e48e5e6a5fe64d8 (patch) | |
tree | cb45e7f2f64937c9e4c7c7d7aa492a99e89d5200 /release | |
parent | 3c7bfb1d7d3cbedddad864bdc50fe48033b56942 (diff) |
Sculpt Dynamic Topology: support collapsing edges without subdividing edges as well
This allows you to choose between subdivide edges, collapse and both. Being able to
only collapse edges can be useful to simplify meshes with accidentally introducing
more detail.
Reviewed By: psy-fi, carter2422
Differential Revision: http://developer.blender.org/D15
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index cd3c238fe86..bfda0c83db9 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -986,6 +986,8 @@ class VIEW3D_PT_sculpt_topology(Panel, View3DPaintPanel): toolsettings = context.tool_settings sculpt = toolsettings.sculpt + settings = self.paint_settings(context) + brush = settings.brush if context.sculpt_object.use_dynamic_topology_sculpting: layout.operator("sculpt.dynamic_topology_toggle", icon='X', text="Disable Dynamic") @@ -994,9 +996,12 @@ class VIEW3D_PT_sculpt_topology(Panel, View3DPaintPanel): col = layout.column() col.active = context.sculpt_object.use_dynamic_topology_sculpting - col.prop(sculpt, "detail_size") + sub = col.column(align=True) + sub.active = brush and brush.sculpt_tool not in ('MASK') + sub.prop(sculpt, "detail_size") + sub.prop(sculpt, "detail_refine_method", text="") + col.separator() col.prop(sculpt, "use_smooth_shading") - col.prop(sculpt, "use_edge_collapse") col.operator("sculpt.optimize") col.separator() col.prop(sculpt, "symmetrize_direction") |