Commit 368d1956 authored by Rusty Blue's avatar Rusty Blue
Browse files

PERF: Don't need to do an UpdateInformation on the input... should have...

PERF: Don't need to do an UpdateInformation on the input... should have already been handled by new pipeline RequestInofrmation pass.
parent 96ee02e0
......@@ -18,7 +18,7 @@
#include "vtkDataSet.h"
#include "vtkErrorCode.h"
vtkCxxRevisionMacro(vtkXMLPDataWriter, "1.13");
vtkCxxRevisionMacro(vtkXMLPDataWriter, "1.14");
//----------------------------------------------------------------------------
vtkXMLPDataWriter::vtkXMLPDataWriter()
......@@ -80,11 +80,7 @@ int vtkXMLPDataWriter::WriteInternal()
{
// Prepare the file name.
this->SplitFileName();
// Make sure our input's information is up to date.
vtkDataSet* input = this->GetInputAsDataSet();
input->UpdateInformation();
// Write the pieces now so the data are up to date.
int result = this->WritePieces();
if (!result)
......
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