Commit 721a2cbb authored by Jan Möbius's avatar Jan Möbius

Fixed regression and Problem in OM writer

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@939 fdac6126-5c0c-442c-9429-916003d36597
parent cb25e072
......@@ -55,6 +55,7 @@
#include <stdexcept>
#include <OpenMesh/Core/System/config.h>
#include <OpenMesh/Core/IO/SR_binary.hh>
#include <OpenMesh/Core/IO/SR_binary_spec.hh>
//== NAMESPACES ===============================================================
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment