vtkDEMReader bug
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In vtkDEMReader, the origin is being set twice in the following lines of code:
// // get the origin from the ground coordinates // origin[0] = this->GroundCoords[VTK_SW][0]; origin[1] = this->GroundCoords[VTK_SW][1]; origin[2] = this->ElevationBounds[0]; origin[0] = 0; origin[1] = 0; origin[2] = 0;
I believe this should just be:
// // get the origin from the ground coordinates // origin[0] = this->GroundCoords[VTK_SW][0]; origin[1] = this->GroundCoords[VTK_SW][1]; origin[2] = this->ElevationBounds[0];