fix [#30209] "Tris to Quad" fails in some cases

dont join 2 triangles if the edge thet share has more then 2 face users.
This commit is contained in:
Campbell Barton
2012-02-16 17:43:23 +00:00
parent 49ab580143
commit e67ba3d9df

View File

@@ -249,7 +249,7 @@ void bmesh_jointriangles_exec(BMesh *bm, BMOperator *op)
if (!BMO_elem_flag_test(bm, e, EDGE_MARK))
continue;
if (BM_edge_face_count(e) < 2) {
if (BM_edge_face_count(e) != 2) {
BMO_elem_flag_disable(bm, e, EDGE_MARK);
continue;
}