Commit 28460ec0 authored by John Biddiscombe's avatar John Biddiscombe
Browse files

BUG: Removing the origin setting was making the individual blocks appear in...

BUG: Removing the origin setting was making the individual blocks appear in the wrong place and causing the image tests using multi-block to fail. Might have a problem with parallel load, but this will fix tests for now.
parent 47b9c04c
......@@ -90,7 +90,7 @@
//----------------------------------------------------------------------------
vtkStandardNewMacro(vtkXdmfReader);
vtkCxxRevisionMacro(vtkXdmfReader, "1.38");
vtkCxxRevisionMacro(vtkXdmfReader, "1.39");
//----------------------------------------------------------------------------
vtkCxxSetObjectMacro(vtkXdmfReader,Controller,vtkMultiProcessController);
......@@ -401,8 +401,8 @@ vtkXdmfReader::vtkXdmfReader()
this->OutputTemporal = 0;
this->TimeStep = 0;
this->ActualTimeStep = 0;
this->TimeStepRange[0] = 0.0;
this->TimeStepRange[1] = 0.0;
this->TimeStepRange[0] = 0;
this->TimeStepRange[1] = 0;
}
//----------------------------------------------------------------------------
......@@ -2505,7 +2505,7 @@ int vtkXdmfReaderInternal::RequestGridData(
// origin[2], origin[1], origin[0]);
}
// vGrid->SetOrigin(origin[2], origin[1], origin[0]);
vGrid->SetOrigin(origin[2], origin[1], origin[0]);
// vGrid->SetDimensions(Dimensions[2], Dimensions[1], Dimensions[0]);
stride[2] = readerStride[0];
stride[1] = readerStride[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