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:
@@ -55,6 +55,7 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <OpenMesh/Core/System/config.h>
|
#include <OpenMesh/Core/System/config.h>
|
||||||
#include <OpenMesh/Core/IO/SR_binary.hh>
|
#include <OpenMesh/Core/IO/SR_binary.hh>
|
||||||
|
#include <OpenMesh/Core/IO/SR_binary_spec.hh>
|
||||||
|
|
||||||
//== NAMESPACES ===============================================================
|
//== NAMESPACES ===============================================================
|
||||||
|
|
||||||
|
|||||||
@@ -297,6 +297,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
|
|||||||
|
|
||||||
for (i=0, nF=header.n_faces_; i<nF; ++i)
|
for (i=0, nF=header.n_faces_; i<nF; ++i)
|
||||||
{
|
{
|
||||||
|
nV = _be.get_vhandles(FaceHandle(i), vhandles);
|
||||||
if ( header.mesh_ == 'P' )
|
if ( header.mesh_ == 'P' )
|
||||||
bytes += store( _os, vhandles.size(),
|
bytes += store( _os, vhandles.size(),
|
||||||
OMFormat::Chunk::Integer_16, swap );
|
OMFormat::Chunk::Integer_16, swap );
|
||||||
|
|||||||
Reference in New Issue
Block a user