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>2012-04-18 13:04:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-18 13:04:07 +0400
commitddbb4db1d31e7b5454f8b6758da04c9e4e04dcb3 (patch)
treec82575d0773587a86dfdfb2ece5e8aa2fce8ff20
parent6d346724d3171061e71adddeecea737f138bf48e (diff)
fix [#30995] Wavefront obj. file export/import issue with splited edge
-rw-r--r--source/blender/editors/mesh/mesh_data.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c
index 69aeee48a4b..b2d37e8fc67 100644
--- a/source/blender/editors/mesh/mesh_data.c
+++ b/source/blender/editors/mesh/mesh_data.c
@@ -816,12 +816,9 @@ void ED_mesh_update(Mesh *mesh, bContext *C, int calc_edges, int calc_tessface)
/* would only be converting back again, don't bother */
tessface_input = TRUE;
-
- /* it also happens that converting the faces calculates edges, skip this */
- calc_edges = FALSE;
}
- if (calc_edges || (mesh->totpoly && mesh->totedge == 0))
+ if (calc_edges || ((mesh->totpoly || mesh->totface) && mesh->totedge == 0))
BKE_mesh_calc_edges(mesh, calc_edges);
if (calc_tessface) {