fix #30440, Collada import: no faces/uv after bmesh merge
authorJuha Mäki-Kanto <ih5235252@gmail.com>
Tue, 6 Mar 2012 19:50:07 +0000 (19:50 +0000)
committerJuha Mäki-Kanto <ih5235252@gmail.com>
Tue, 6 Mar 2012 19:50:07 +0000 (19:50 +0000)
Seems too simple, just missing call to convert_mfaces_to_mpolys.

source/blender/collada/MeshImporter.cpp

index ebfeb0c6301686507fe0c2240cb77a447f5a6d8e..10fae7e2c1bef742a3d441c44ad074294329e697 100644 (file)
@@ -964,5 +964,6 @@ bool MeshImporter::write_geometry(const COLLADAFW::Geometry* geom)
 
        mesh_calc_normals_mapping(me->mvert, me->totvert, me->mloop, me->mpoly, me->totloop, me->totpoly, NULL, NULL, 0, NULL, NULL);
 
+       convert_mfaces_to_mpolys(me);
        return true;
 }