diff --git a/Doc/changelog.docu b/Doc/changelog.docu
index e33a542c..720a0d5a 100644
--- a/Doc/changelog.docu
+++ b/Doc/changelog.docu
@@ -8,6 +8,30 @@
| 7.0 (?/?/?) |
+Core
+
+- make all negative handles invalid, not just -1
+- Several warnings fixed (Including the checked iterators)
+
+
+IO
+
+- BaseExporter: Added accessor functions for HalfEdgeHandles and faceTexCoords to base exporter and exporter template.
+- OBJ Writer: Added functionality to store FaceTexCoords to objwriter
+- OBJ Loader: range check for vertex colors and normals in OBJ loader
+- OBJ Loader: fixed handling of negative indices in OBJ loader
+- OM Writer: Fixed OMWriter when no faces are available (Thanks to Jamie Kydd for the patch)
+
+
+Unittests
+
+- Added unittest to write and read faceTexcoords with a test obj file
+
+
+General
+
|
diff --git a/src/OpenMesh/Core/IO/writer/OMWriter.cc b/src/OpenMesh/Core/IO/writer/OMWriter.cc
index b7af9ef2..9d234ccd 100644
--- a/src/OpenMesh/Core/IO/writer/OMWriter.cc
+++ b/src/OpenMesh/Core/IO/writer/OMWriter.cc
@@ -318,7 +318,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
// ---------- write face normals
- if ( _be.has_face_normals() && _opt.check(Options::FaceNormal) )
+ if (_be.n_faces() && _be.has_face_normals() && _opt.check(Options::FaceNormal) )
{
#define NEW_STYLE 0
#if NEW_STYLE
@@ -353,7 +353,7 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
// ---------- write face color
- if (_be.has_face_colors() && _opt.check( Options::FaceColor ))
+ if (_be.n_faces() && _be.has_face_colors() && _opt.check( Options::FaceColor ))
{
#define NEW_STYLE 0
#if NEW_STYLE