[Bf-blender-cvs] [34857b2032f] blender-v2.79a-release: Fix error in recent boolean changes w/ quad split

Campbell Barton noreply at git.blender.org
Wed Jan 3 12:47:56 CET 2018


Commit: 34857b2032f5623afafa7fcf43e6acb887d7c057
Author: Campbell Barton
Date:   Fri Sep 15 18:07:00 2017 +1000
Branches: blender-v2.79a-release
https://developer.blender.org/rB34857b2032f5623afafa7fcf43e6acb887d7c057

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