Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-12-17 12:09:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-12-17 12:09:47 +0300
commitb04d2f99f20f44163756ee1f2ed8c1032de357d7 (patch)
tree3e265736859d8730d75a3636fb70ea34ac045385
parent15bde0dbeac81d2fa9f4822753963a3e377ff191 (diff)
Fix T42927: Triangulate-beauty fails on quads
Regressions since 2.69.
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index 302ed74a934..a0f2f8c9b1a 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -814,7 +814,7 @@ void BM_face_triangulate(
cost = BM_verts_calc_rotate_beauty(l_v1->v, l_v2->v, l_v3->v, l_v4->v, 0, 0);
- if (cost < 0.0f) {
+ if (cost > 0.0f) {
l_v1 = l_v4;
//l_v2 = l_v2;
}