diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-03-29 20:16:36 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-03-29 20:16:36 +0400 |
commit | e659cfdaf7285be656ba51ee406e6b6f454de87e (patch) | |
tree | bbdc827d15a8e30aeb4e0f0c80758e05e0da6d3e /source/blender/editors/sculpt_paint/sculpt.c | |
parent | 73299516fa2ba8abbde2635754726e287bd2da94 (diff) |
Change dyntopo detail size calculation slightly so the result is close
to the radius of the widget when setting the detail.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index f8e2fc1f192..d138e9808a2 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -4553,7 +4553,7 @@ static void sculpt_stroke_update_step(bContext *C, struct PaintStroke *UNUSED(st BKE_pbvh_bmesh_detail_size_set(ss->pbvh, (ss->cache->radius / (float)ups->pixel_radius) * - (float)sd->detail_size); + (float)sd->detail_size / 0.4f); } if (sculpt_stroke_dynamic_topology(ss, brush)) { |