diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-12-17 12:09:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-12-17 12:09:47 +0300 |
commit | b04d2f99f20f44163756ee1f2ed8c1032de357d7 (patch) | |
tree | 3e265736859d8730d75a3636fb70ea34ac045385 | |
parent | 15bde0dbeac81d2fa9f4822753963a3e377ff191 (diff) |
Fix T42927: Triangulate-beauty fails on quads
Regressions since 2.69.
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.c | 2 |
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; } |