patch to the previous commit, shot loading/saving

was not to be removed (fixed)
This commit is contained in:
ganovelli 2009-06-16 16:51:13 +00:00
parent 1d0385eb0a
commit 52be070545
2 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ namespace io {
fwrite(&offsetF,sizeof( int),1,f);
/* save the object mesh */
fwrite(&m.shot,sizeof(Shot<typename SaveMeshType::ScalarType>),1,f);
fwrite(&m.vn,sizeof(int),1,f);
fwrite(&m.fn,sizeof(int),1,f);
fwrite(&m.imark,sizeof(int),1,f);

View File

@ -119,6 +119,7 @@ namespace io {
fread(&offsetF,sizeof( int),1,f);
/* read the object mesh */
fread(&m.shot,sizeof(Shot<typename OpenMeshType::ScalarType>),1,f);
fread(&m.vn,sizeof(int),1,f);
fread(&m.fn,sizeof(int),1,f);
fread(&m.imark,sizeof(int),1,f);