misc changes from trunk (avoid confusion since these were not intentional differences)
[blender.git] / source / blender / collada / MeshImporter.cpp
index 92852120bca31abaf9bfcf021c0e48ea6fd822fa..ebfeb0c6301686507fe0c2240cb77a447f5a6d8e 100644 (file)
@@ -961,8 +961,8 @@ bool MeshImporter::write_geometry(const COLLADAFW::Geometry* geom)
        read_faces(mesh, me, new_tris);
 
        make_edges(me, 0);
-       
-       mesh_calc_normals(me->mvert, me->totvert, me->mface, me->totface, NULL);
+
+       mesh_calc_normals_mapping(me->mvert, me->totvert, me->mloop, me->mpoly, me->totloop, me->totpoly, NULL, NULL, 0, NULL, NULL);
 
        return true;
 }