Commit 54ef55a7 authored by Ken Martin's avatar Ken Martin
Browse files

change default to use zlib

parent b69fdf5e
......@@ -20,14 +20,14 @@
#include "vtkByteSwap.h"
#include "vtkCellData.h"
#include "vtkDataArray.h"
#include "vtkDataCompressor.h"
#include "vtkZLibDataCompressor.h"
#include "vtkDataSet.h"
#include "vtkOutputStream.h"
#include "vtkPointData.h"
#include "vtkPoints.h"
#include "vtkUnsignedCharArray.h"
vtkCxxRevisionMacro(vtkXMLWriter, "1.14");
vtkCxxRevisionMacro(vtkXMLWriter, "1.15");
vtkCxxSetObjectMacro(vtkXMLWriter, Compressor, vtkDataCompressor);
//----------------------------------------------------------------------------
......@@ -55,7 +55,7 @@ vtkXMLWriter::vtkXMLWriter()
// Initialize compression data.
this->BlockSize = 32768;
this->Compressor = 0;
this->Compressor = vtkZLibDataCompressor::New();
this->CompressionHeader = 0;
this->EncodeAppendedData = 1;
......
Supports Markdown
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