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:
Antonis Ryakiotakis 2014-03-29 18:16:36 +02:00
parent 73299516fa
commit e659cfdaf7
Notes: blender-bot 2023-02-14 10:44:59 +01:00
Referenced by issue #39874, Bone roll resets if bones are moved in edit mode
1 changed files with 1 additions and 1 deletions

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