Commit 85154d7d authored by David Gobbi's avatar David Gobbi Committed by David E. DeMarle

16870: Fix origin when TransformInputSamplingOff() is used.

A simple omission in the code caused TransformInputSamplingOff() to produce
incorrect results.  The default is TransformInputSamplingOn(), and it seems
that no tests exercised the class with it off.
parent c3e87b66
......@@ -1063,6 +1063,7 @@ int vtkImageReslice::RequestInformation(
c = inCenter[i];
s = inSpacing[i];
d = (inWholeExt[2*i+1] - inWholeExt[2*i])*s;
e = inWholeExt[2*i];
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