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:
authorMacelaru Tiberiu <ButcherTibi>2018-07-02 19:35:50 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-02 21:08:42 +0300
commit2203b041e1d2d770e22e37bb4c235bc07f5e7340 (patch)
tree75c5d6c8367456bcbc24bb529102712a0cd7e5b7 /release/scripts/startup/bl_ui/space_view3d_toolbar.py
parent8c7ddf944e7901659c97249f3750a0071408e47e (diff)
Sculpting: add Manual detail mode for dynamic topology.
In this mode mesh detail does not change on each stroke, but only when using flood fill. Differential Revision: https://developer.blender.org/D3515
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py4
1 files changed, 2 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 864dcc4b0e9..8d78d674922 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -924,7 +924,7 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
sub = col.column()
sub.active = (brush and brush.sculpt_tool != 'MASK')
- if (sculpt.detail_type_method == 'CONSTANT'):
+ if sculpt.detail_type_method in {'CONSTANT', 'MANUAL'}:
row = sub.row(align=True)
row.prop(sculpt, "constant_detail_resolution")
row.operator("sculpt.sample_detail_size", text="", icon='EYEDROPPER')
@@ -942,7 +942,7 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
col.prop(sculpt, "symmetrize_direction")
col.operator("sculpt.symmetrize")
col.operator("sculpt.optimize")
- if (sculpt.detail_type_method == 'CONSTANT'):
+ if sculpt.detail_type_method in {'CONSTANT', 'MANUAL'}:
col.operator("sculpt.detail_flood_fill")