diff options
author | Matt Ebb <matt@mke3.net> | 2010-06-07 07:57:49 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-06-07 07:57:49 +0400 |
commit | 876e71844b14d544b99d3c76f7cd2169cd396912 (patch) | |
tree | ddaeee2ee3deede5fa583d4442d40443a0f43ce0 | |
parent | 3efcdf5d475d52f4a53db2683940ba50e23163b9 (diff) |
Committing tom's fix that went to his student's branch instead
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |