use less compression when serializing geometry files (much faster)

metadata
Wenzel Jakob 2010-09-03 00:24:44 +02:00
parent eedf35f4eb
commit ab7961df0c
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ void TriMesh::serialize(Stream *_stream) const {
stream->writeShort(MTS_FILEFORMAT_HEADER);
stream->writeShort(MTS_FILEFORMAT_VERSION_V2);
stream = new ZStream(stream, Z_BEST_COMPRESSION);
stream = new ZStream(stream);
stream->writeBool(doublePrecision);
stream->writeULong(m_vertexCount);
stream->writeFloatArray(reinterpret_cast<Float *>(m_vertexBuffer),