Commit d9d0ac2a authored by Berk Geveci's avatar Berk Geveci
Browse files

BUG: Should copy from output information not port

parent ca2cf9db
......@@ -24,7 +24,7 @@
#include "vtkPolyData.h"
#include "vtkStreamingDemandDrivenPipeline.h"
vtkCxxRevisionMacro(vtkTransmitPolyDataPiece, "1.18");
vtkCxxRevisionMacro(vtkTransmitPolyDataPiece, "1.19");
vtkStandardNewMacro(vtkTransmitPolyDataPiece);
vtkCxxSetObjectMacro(vtkTransmitPolyDataPiece,Controller,
......@@ -196,7 +196,7 @@ void vtkTransmitPolyDataPiece::RootExecute(vtkPolyData *input,
extract->SetCreateGhostCells(this->CreateGhostCells);
extract->SetInput(tmp);
vtkInformation *extractInfo = extract->GetOutputPortInformation(0);
vtkInformation *extractInfo = extract->GetExecutive()->GetOutputInformation(0);
extractInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(),
outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES()));
extractInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(),
......
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