diff --git a/src/OpenMesh/Core/IO/writer/PLYWriter.cc b/src/OpenMesh/Core/IO/writer/PLYWriter.cc index 953bf42789bf22cc1539384da440369d0634693f..a497739a85f7815e8279be51baccbfc674c86d91 100644 --- a/src/OpenMesh/Core/IO/writer/PLYWriter.cc +++ b/src/OpenMesh/Core/IO/writer/PLYWriter.cc @@ -86,8 +86,21 @@ write(const std::string& _filename, BaseExporter& _be, Options _opt) const // check writer features - if ( _opt.check(Options::FaceNormal) || _opt.check(Options::FaceColor) ) // not supported yet - return false; + if ( _opt.check(Options::FaceNormal) ) { + // Face normals are not supported + // Uncheck these options and output message that + // they are not written out even though they were requested + _opt.unset(Options::FaceNormal); + omerr() << "[PLYWriter] : Warning: Face normals are not supported and thus not exported! " << std::endl; + } + + if ( _opt.check(Options::FaceColor) ) { + // Face normals are not supported + // Uncheck these options and output message that + // they are not written out even though they were requested + _opt.unset(Options::FaceColor); + omerr() << "[PLYWriter] : Warning: Face colors are not supported and thus not exported! " << std::endl; + } options_ = _opt;