Commit f07a202d authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed cppcheck error



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@489 fdac6126-5c0c-442c-9429-916003d36597
parent 4ffc00a6
......@@ -243,7 +243,6 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
}
// ---------- write vertex color
#if 1
if (_opt.check( Options::VertexColor ) && _be.has_vertex_colors() )
{
Vec3uc c = _be.color(VertexHandle(0));
......@@ -260,7 +259,6 @@ bool _OMWriter_::write_binary(std::ostream& _os, BaseExporter& _be,
for (i=0, nV=_be.n_vertices(); i<nV; ++i)
bytes += vector_store( _os, _be.color(VertexHandle(i)), swap );
}
#endif
// ---------- write vertex texture coords
if (_be.n_vertices() && _opt.check(Options::VertexTexCoord))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment