Skip to content

Commit

Permalink
BUG: Fix issue with vtkGenericCell.GetCellFaces.
Browse files Browse the repository at this point in the history
Calling this on an uninitialized object segfaults on Linux.
  • Loading branch information
prabhuramachandran committed Dec 17, 2024
1 parent 40c6010 commit a405de1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tvtk/vtk_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,9 @@ def _find_get_set_methods(self, klass, methods):
# These hang on Windows (and maybe Fedora 34)
elif (klass_name in ('vtkDataEncoder', 'vtkWebApplication')):
continue
# This crashes on VTK version 9.4.0
elif (klass_name == 'vtkGenericCell' and method[3:] == 'CellFaces'):
continue
# we can actually process it
elif ('Get' + method[3:]) in methods:
key = method[3:]
Expand Down

0 comments on commit a405de1

Please sign in to comment.