From bb75099c5d861a9a00c260f1d9e9a1ac26167287 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 23 Feb 2010 16:50:47 +0000 Subject: [PATCH] corrected a wrong bbox type (mismatched between a fixed box3f and the mesh bbox type) --- wrap/io_trimesh/import_vmi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wrap/io_trimesh/import_vmi.h b/wrap/io_trimesh/import_vmi.h index bdb59434..9222ab04 100644 --- a/wrap/io_trimesh/import_vmi.h +++ b/wrap/io_trimesh/import_vmi.h @@ -641,8 +641,9 @@ namespace io { unsigned int vertSize,faceSize; /* read the header */ - GetHeader(fnameV, fnameF, vertSize, faceSize,m.bbox,mask); - + vcg::Box3f lbbox; + GetHeader(fnameV, fnameF, vertSize, faceSize,lbbox,mask); + m.bbox.Import(lbbox); /* read the mesh type */ OpenMeshType::FaceType::Name(nameF); OpenMeshType::VertexType::Name(nameV);