Fixed regression and Problem in OM writer

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@939 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-21 08:01:44 +00:00
parent cb25e07252
commit 721a2cbb84
2 changed files with 2 additions and 0 deletions

View File

@@ -297,6 +297,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
for (i=0, nF=header.n_faces_; i<nF; ++i)
{
nV = _be.get_vhandles(FaceHandle(i), vhandles);
if ( header.mesh_ == 'P' )
bytes += store( _os, vhandles.size(),
OMFormat::Chunk::Integer_16, swap );