Use 'beauty' for sculpt triangulation
Causes fewer degenerate quads.
This commit is contained in:
parent
0f769afe07
commit
131c2a2bef
Notes:
blender-bot
2023-02-14 08:27:39 +01:00
Referenced by issue #46692, Dyntopo Claystrips crashes on certain meshes
|
@ -4677,7 +4677,7 @@ static void SCULPT_OT_set_persistent_base(wmOperatorType *ot)
|
|||
static void sculpt_dynamic_topology_triangulate(BMesh *bm)
|
||||
{
|
||||
if (bm->totloop != bm->totface * 3) {
|
||||
BM_mesh_triangulate(bm, MOD_TRIANGULATE_QUAD_FIXED, MOD_TRIANGULATE_NGON_EARCLIP, false, NULL, NULL, NULL);
|
||||
BM_mesh_triangulate(bm, MOD_TRIANGULATE_QUAD_BEAUTY, MOD_TRIANGULATE_NGON_EARCLIP, false, NULL, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue