From 9bc7cd795f8e9a9c19fbc69ec88f91677d2b6f6f Mon Sep 17 00:00:00 2001 From: granzuglia Date: Fri, 11 Aug 2006 11:12:01 +0000 Subject: [PATCH] fix the multimesh bug also in the other Open function --- wrap/io_trimesh/import_dae.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/io_trimesh/import_dae.h b/wrap/io_trimesh/import_dae.h index a000b6e0..d4b7709f 100644 --- a/wrap/io_trimesh/import_dae.h +++ b/wrap/io_trimesh/import_dae.h @@ -89,6 +89,7 @@ public: else { geomsh[ii] = geolib->GetEntity(ii)->GetMesh(); + unsigned int offset = m.vert.size(); if (geomsh[ii]->GetFaceCount() > 0) { geomsh[ii]->Triangulate(); @@ -150,7 +151,6 @@ public: FCDGeometryPolygonsInputList tet; tmp->GetPolygons(pset)->FindInputs(FUDaeGeometryInput::TEXCOORD,tet); - unsigned int offset = m.face.size(); for(unsigned int ind = 0;ind < pos->indices.size();++ind) {