From 1e9e4d59220bcb2b75797f34c553aafa88102b3a Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Fri, 12 Oct 2018 14:05:52 +0200 Subject: [PATCH] fix copy paste bugs for status writing --- src/OpenMesh/Core/IO/writer/OMWriter.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenMesh/Core/IO/writer/OMWriter.cc b/src/OpenMesh/Core/IO/writer/OMWriter.cc index 721a25a1..ffcbbce4 100644 --- a/src/OpenMesh/Core/IO/writer/OMWriter.cc +++ b/src/OpenMesh/Core/IO/writer/OMWriter.cc @@ -441,7 +441,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be, { auto s = _be.status(EdgeHandle(0)); chunk_header.name_ = false; - chunk_header.entity_ = OMFormat::Chunk::Entity_Vertex; + chunk_header.entity_ = OMFormat::Chunk::Entity_Edge; chunk_header.type_ = OMFormat::Chunk::Type_Status; chunk_header.signed_ = false; chunk_header.float_ = false; @@ -460,7 +460,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be, { auto s = _be.status(HalfedgeHandle(0)); chunk_header.name_ = false; - chunk_header.entity_ = OMFormat::Chunk::Entity_Vertex; + chunk_header.entity_ = OMFormat::Chunk::Entity_Halfedge; chunk_header.type_ = OMFormat::Chunk::Type_Status; chunk_header.signed_ = false; chunk_header.float_ = false; @@ -479,7 +479,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be, { auto s = _be.status(FaceHandle(0)); chunk_header.name_ = false; - chunk_header.entity_ = OMFormat::Chunk::Entity_Vertex; + chunk_header.entity_ = OMFormat::Chunk::Entity_Face; chunk_header.type_ = OMFormat::Chunk::Type_Status; chunk_header.signed_ = false; chunk_header.float_ = false;