[Bf-blender-cvs] [131c2a2] master: Use 'beauty' for sculpt triangulation
Campbell Barton
noreply at git.blender.org
Thu Nov 5 15:22:09 CET 2015
Commit: 131c2a2bef3c7e58c8cdb3bd1572e462da8295fe
Author: Campbell Barton
Date: Fri Nov 6 01:12:07 2015 +1100
Branches: master
https://developer.blender.org/rB131c2a2bef3c7e58c8cdb3bd1572e462da8295fe
Use 'beauty' for sculpt triangulation
Causes fewer degenerate quads.
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 5f0295e..4aded2d 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -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);
}
}
More information about the Bf-blender-cvs
mailing list