diff --git a/FileOFFT.cc b/FileOFFT.cc index 6d32145cbbd739a34fec6f2775c533f4a47ed5d2..9a8960d3b662a8bcb2660674a61814a3095aaa79 100644 --- a/FileOFFT.cc +++ b/FileOFFT.cc @@ -58,17 +58,17 @@ bool FileOFFPlugin::writeMesh(std::ostream& _out, MeshT& _mesh, BaseObject &_bas // Write option ST if(_mesh.has_vertex_texcoords2D() && (userWriteOptions_ & OFFImporter::VERTEXTEXCOORDS) ) { - _out << "ST "; + _out << "ST"; } // Write option C if(_mesh.has_vertex_colors() && (userWriteOptions_ & OFFImporter::VERTEXCOLOR) ) { - _out << "C "; + _out << "C"; } // Write option N if(_mesh.has_vertex_normals() && (userWriteOptions_ & OFFImporter::VERTEXNORMAL) ) { - _out << "N "; + _out << "N"; } // Write @@ -181,7 +181,7 @@ bool FileOFFPlugin::writeASCIIData(std::ostream& _out, MeshT& _mesh ) { // Write face colors if(_mesh.has_face_colors() && (userWriteOptions_ & OFFImporter::FACECOLOR ) ) { c = OpenMesh::color_cast (_mesh.color(fit.handle())); - _out << " " << std::showpoint << c[0] << " " << std::showpoint << c[1] << " " << std::showpoint << c[2] << " " << std::showpoint << c[3]; + _out << " " << std::showpoint << c[0] << " " << std::showpoint << c[1] << " " << std::showpoint << c[2]; if(userWriteOptions_ & OFFImporter::COLORALPHA) _out << " " << std::showpoint << c[3]; }