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:
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
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue