corrected a wrong bbox type (mismatched between a fixed box3f and the mesh bbox type)

This commit is contained in:
Paolo Cignoni 2010-02-23 16:50:47 +00:00
parent 319a87d5c0
commit bb75099c5d
1 changed files with 3 additions and 2 deletions

View File

@ -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);