Commit 047f68e7 authored by Dave DeMarle's avatar Dave DeMarle Committed by Code Review
Browse files

Merge topic 'vtkImageImport_pipeline_mtime_fix' into master

540f6d08 Fix problem with Pipeline Mtime when connecting to itk. See Bug id 12684
parents b4ef26af 540f6d08
......@@ -208,6 +208,23 @@ int vtkImageImport::RequestUpdateExtent(
return 1;
}
//----------------------------------------------------------------------------
int vtkImageImport::ComputePipelineMTime(
vtkInformation* request,
vtkInformationVector** inInfoVec,
vtkInformationVector* outInfoVec,
int requestFromOutputPort,
unsigned long* mtime )
{
if (this->InvokePipelineModifiedCallbacks())
{
this->Modified();
}
// Superclass normally returns our MTime.
return Superclass::ComputePipelineMTime(request, inInfoVec, outInfoVec,
requestFromOutputPort, mtime);
}
//----------------------------------------------------------------------------
int vtkImageImport::RequestInformation (
vtkInformation * vtkNotUsed(request),
......
......@@ -117,6 +117,14 @@ public:
virtual int RequestUpdateExtent( vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
// Description:
// Override vtkAlgorithm
virtual int
ComputePipelineMTime(vtkInformation* request,
vtkInformationVector** inInfoVec,
vtkInformationVector* outInfoVec,
int requestFromOutputPort,
unsigned long* mtime);
// Description:
// Set/get the scalar array name for this data set. Initial value is
......
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