fix for compiling collada by nico_ga

This commit is contained in:
Campbell Barton
2011-10-28 06:12:00 +00:00
parent ff837cbe9b
commit f5d5de0d8a

View File

@@ -957,8 +957,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(me->mvert, me->totvert, me->mloop, me->mpoly, me->totloop, me->totpoly, NULL, NULL, 0, NULL, NULL);
return true;
}