Commit ea7ea285 authored by David Gobbi's avatar David Gobbi

Remove redundant type check.

parent 51ba0930
......@@ -2842,7 +2842,6 @@ void vtkReslicePermuteExecute(vtkImageReslice *self,
bool doConversion = true;
int inputScalarType = scalars->GetDataType();
if (interpolationMode == VTK_NEAREST_INTERPOLATION &&
interpolator->IsA("vtkImageInterpolator") &&
inputScalarType == scalarType && !convertScalars && !rescaleScalars &&
nsamples == 1)
{
......
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