# HG changeset patch # User Roeland Merks # Date 2010-11-25 17:34:21 # Node ID 1bbab6e592e667da3935f3703398d544ab9f4ecd # Parent 8ff9e397df2faa950051863647b6c51d112ae137 Reduced XML write compression mode to 0 (no compression), because Windows seems not to be able to handle it. user: Roeland Merks branch 'default' changed src/xmlwrite.cpp diff --git a/src/xmlwrite.cpp b/src/xmlwrite.cpp --- a/src/xmlwrite.cpp +++ b/src/xmlwrite.cpp @@ -832,7 +832,8 @@ void Mesh::XMLSave(const char *docname, /* * Dumping document to stdio or file */ - xmlSetDocCompressMode(doc,9); + // Transparent compression seems not to work on Windows. So write uncompressed XML to ensure compatibility of LeafML files. + xmlSetDocCompressMode(doc,0); xmlSaveFormatFileEnc(docname, doc, "UTF-8", 1); /*free the document */