Change dyntopo detail size calculation slightly so the result is close

to the radius of the widget when setting the detail.
This commit is contained in:
Antony Riakiotakis
2014-03-29 18:16:36 +02:00
parent 73299516fa
commit e659cfdaf7

View File

@@ -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)) {