Skip to content
Snippets Groups Projects
Commit 6c5772a9 authored by David Gobbi's avatar David Gobbi
Browse files

Copy DIRECTION by default in REQUEST_INFORMATION

When SPACING and ORIGIN are copied by the pipeline, the associated
DIRECTION should also be copied.  Most VTK filters should simply
pass the DIRECTION to the output if present, a few filters will
have to modify the DIRECTION.
parent f745710d
No related branches found
No related tags found
No related merge requests found
......@@ -515,6 +515,7 @@ void vtkStreamingDemandDrivenPipeline ::CopyDefaultInformation(vtkInformation* r
outInfo->CopyEntry(inInfo, TIME_STEPS());
outInfo->CopyEntry(inInfo, TIME_RANGE());
outInfo->CopyEntry(inInfo, vtkDataObject::ORIGIN());
outInfo->CopyEntry(inInfo, vtkDataObject::DIRECTION());
outInfo->CopyEntry(inInfo, vtkDataObject::SPACING());
outInfo->CopyEntry(inInfo, TIME_DEPENDENT_INFORMATION());
if (scalarInfo)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment