Skip to content
Snippets Groups Projects
Commit a468e250 authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot
Browse files

Merge topic 'fix-extents-rect-grid-cell-data'


e0d10d6d Fix extents for cell data with vtkRectilinearGrid

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !6916
parents 77ec1f24 e0d10d6d
No related branches found
No related tags found
No related merge requests found
......@@ -893,6 +893,12 @@ void vtkVolumeTexture::ComputeBounds(VolumeBlock* block)
origin[cc] = bounds[2 * cc];
}
rGrid->GetExtent(block->Extents);
if (this->IsCellData)
{
block->Extents[1]--;
block->Extents[3]--;
block->Extents[5]--;
}
}
int swapBounds[3];
......
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