An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

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 @@ ...@@ -18,7 +18,7 @@
#include "vtkDataSet.h" #include "vtkDataSet.h"
#include "vtkErrorCode.h" #include "vtkErrorCode.h"
vtkCxxRevisionMacro(vtkXMLPDataWriter, "1.13"); vtkCxxRevisionMacro(vtkXMLPDataWriter, "1.14");
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
vtkXMLPDataWriter::vtkXMLPDataWriter() vtkXMLPDataWriter::vtkXMLPDataWriter()
...@@ -80,11 +80,7 @@ int vtkXMLPDataWriter::WriteInternal() ...@@ -80,11 +80,7 @@ int vtkXMLPDataWriter::WriteInternal()
{ {
// Prepare the file name. // Prepare the file name.
this->SplitFileName(); 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. // Write the pieces now so the data are up to date.
int result = this->WritePieces(); int result = this->WritePieces();
if (!result) 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