Permalink
Browse files

COMP: Replace use of SetPipelineInformation(...) with new pipeline API

The vtkRCalculatorFilter was using SetPipelineInformation(...) this was
missed as it is only build when R is enabled.

Change-Id: Ic6b9d9003566ea635a6fe64a7566849ff8d83825
  • Loading branch information...
1 parent 8a3e59c commit 6b3d25aff9cceb9b9c3f9547f34ae497d905fbbf @cjh1 cjh1 committed Mar 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Graphics/vtkRCalculatorFilter.cxx
@@ -269,7 +269,7 @@ int vtkRCalculatorFilter::RequestDataObject(
if (!output || !output->IsA(input->GetClassName()))
{
vtkDataObject* newOutput = input->NewInstance();
- newOutput->SetPipelineInformation(info);
+ info->Set(vtkDataObject::DATA_OBJECT(), newOutput);
newOutput->Delete();
}
}

0 comments on commit 6b3d25a

Please sign in to comment.