From 876e71844b14d544b99d3c76f7cd2169cd396912 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Mon, 7 Jun 2010 03:57:49 +0000 Subject: [PATCH] Committing tom's fix that went to his student's branch instead --- source/blender/editors/mesh/editmesh_tools.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 13656ca1b7e..b907171afb4 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -7113,6 +7113,9 @@ static int tris_convert_to_quads_exec(bContext *C, wmOperator *op) Object *obedit= CTX_data_edit_object(C); EditMesh *em= BKE_mesh_get_editmesh((Mesh *)obedit->data); + /* recalc outside so that joining doesn't create a hole */ + EM_recalc_normal_direction(em, 0, 1); + join_triangles(em); DAG_id_flush_update(obedit->data, OB_RECALC_DATA);