Skip to content

Commit

Permalink
more vtk8 fixes - ref #12783
Browse files Browse the repository at this point in the history
  • Loading branch information
rwcarlsen committed Feb 6, 2019
1 parent 1bc46a1 commit 3b3d9af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/chigger/exodus/ExodusSource.py
Expand Up @@ -106,10 +106,10 @@ def getBounds(self):
bnds = []
for i in range(self.__vtkextractblock.GetOutput().GetNumberOfBlocks()):
current = self.__vtkextractblock.GetOutput().GetBlock(i)
if isinstance(current, vtk.vtkCommonDataModelPython.vtkUnstructuredGrid):
if isinstance(current, vtk.vtkUnstructuredGrid):
bnds.append(current.GetBounds())

elif isinstance(current, vtk.vtkCommonDataModelPython.vtkMultiBlockDataSet):
elif isinstance(current, vtk.vtkMultiBlockDataSet):
for j in range(current.GetNumberOfBlocks()):
bnds.append(current.GetBlock(j).GetBounds())

Expand All @@ -135,12 +135,12 @@ def __getRange(self):
pairs = []
for i in range(self.__vtkextractblock.GetOutput().GetNumberOfBlocks()):
current = self.__vtkextractblock.GetOutput().GetBlock(i)
if isinstance(current, vtk.vtkCommonDataModelPython.vtkUnstructuredGrid):
if isinstance(current, vtk.vtkUnstructuredGrid):
array = self.__getActiveArray(current)
if array:
pairs.append(array.GetRange(component))

elif isinstance(current, vtk.vtkCommonDataModelPython.vtkMultiBlockDataSet):
elif isinstance(current, vtk.vtkMultiBlockDataSet):
for j in range(current.GetNumberOfBlocks()):
array = self.__getActiveArray(current.GetBlock(j))
if array:
Expand Down

0 comments on commit 3b3d9af

Please sign in to comment.