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:
authorAntony Riakiotakis <kalast@gmail.com>2014-03-23 01:35:07 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-03-23 01:35:41 +0400
commite732c5809c2be01a0c622987bf9fbe7b37d3ed4c (patch)
tree0f6717db6a0da358500ade55715034a584f20f9c /release
parentc45c472e1b373c5125955056bcf3dd9b5edb8d18 (diff)
Detail sampling operator
Located on topology panel. To use just click on button and click on mesh. Operator will just use the dimensions of the triangles below to set the constant detail setting. Also changed pair of scale/detail size with nice separate float percentage value.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py5
1 files changed, 2 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 4dc44342fbe..b67c8effa3f 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1240,9 +1240,7 @@ class VIEW3D_PT_sculpt_topology(Panel, View3DPaintPanel):
sub = col.column(align=True)
sub.active = brush and brush.sculpt_tool not in ('MASK')
if (sculpt.detail_type_method == 'CONSTANT'):
- row = sub.row(align=True)
- row.prop(sculpt, "detail_size")
- row.prop(sculpt, "constant_detail_scale")
+ sub.prop(sculpt, "constant_detail")
else:
sub.prop(sculpt, "detail_size")
sub.prop(sculpt, "detail_refine_method", text="")
@@ -1251,6 +1249,7 @@ class VIEW3D_PT_sculpt_topology(Panel, View3DPaintPanel):
col.prop(sculpt, "use_smooth_shading")
col.operator("sculpt.optimize")
if (sculpt.detail_type_method == 'CONSTANT'):
+ col.operator("sculpt.sample_detail_size")
col.operator("sculpt.detail_flood_fill")
col.separator()
col.prop(sculpt, "symmetrize_direction")