[Bf-blender-cvs] [fdb8e17936a] master: Fix error in recent boolean changes w/ quad split

Campbell Barton noreply at git.blender.org
Fri Sep 15 10:12:38 CEST 2017


Commit: fdb8e17936a0abfbb61b71ae9a0061405ab7e2c4
Author: Campbell Barton
Date:   Fri Sep 15 18:07:00 2017 +1000
Branches: master
https://developer.blender.org/rBfdb8e17936a0abfbb61b71ae9a0061405ab7e2c4

Fix error in recent boolean changes w/ quad split

===================================================================

M	source/blender/bmesh/intern/bmesh_polygon.c

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index a839f92b9e9..316123159a7 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -1517,7 +1517,7 @@ void BM_mesh_calc_tessellation_beauty(BMesh *bm, BMLoop *(*looptris)[3], int *r_
 			BMLoop *l_v3 = l_v2->next;
 			BMLoop *l_v4 = l_v1->prev;
 
-			const bool split_24 = (BM_verts_calc_rotate_beauty(l_v1->v, l_v2->v, l_v3->v, l_v4->v, 0, 0) > 0.0f);
+			const bool split_24 = (BM_verts_calc_rotate_beauty(l_v1->v, l_v2->v, l_v3->v, l_v4->v, 0, 0) < 0.0f);
 
 			BMLoop **l_ptr_a = looptris[i++];
 			BMLoop **l_ptr_b = looptris[i++];



More information about the Bf-blender-cvs mailing list