svn merge ^/trunk/blender -r43830:43864
[blender.git] / source / blender / collada / GeometryExporter.cpp
index c4eacff11c58c76473649e7b73900e77cc097447..8dffb17a19fc05cafd9fffe029573aaf957972c8 100644 (file)
@@ -65,6 +65,7 @@ void GeometryExporter::operator()(Object *ob)
 #endif
        Mesh *me = (Mesh*)ob->data;
        std::string geom_id = get_geometry_id(ob);
+       std::string geom_name = id_name(ob->data);
        std::vector<Normal> nor;
        std::vector<Face> norind;
 
@@ -78,7 +79,7 @@ void GeometryExporter::operator()(Object *ob)
        create_normals(nor, norind, me);
 
        // openMesh(geoId, geoName, meshId)
-       openMesh(geom_id);
+       openMesh(geom_id, geom_name);
        
        // writes <source> for vertex coords
        createVertsSource(geom_id, me);