[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45741] trunk/blender/source/blender/ editors/mesh/mesh_data.c: fix [#30995] Wavefront obj.
Campbell Barton
ideasman42 at gmail.com
Wed Apr 18 11:04:07 CEST 2012
Revision: 45741
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45741
Author: campbellbarton
Date: 2012-04-18 09:04:07 +0000 (Wed, 18 Apr 2012)
Log Message:
-----------
fix [#30995] Wavefront obj. file export/import issue with splited edge
Modified Paths:
--------------
trunk/blender/source/blender/editors/mesh/mesh_data.c
Modified: trunk/blender/source/blender/editors/mesh/mesh_data.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/mesh_data.c 2012-04-18 08:26:58 UTC (rev 45740)
+++ trunk/blender/source/blender/editors/mesh/mesh_data.c 2012-04-18 09:04:07 UTC (rev 45741)
@@ -816,12 +816,9 @@
/* 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) {
More information about the Bf-blender-cvs
mailing list