Skip to content

Commit

Permalink
FIX: Maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 14, 2024
1 parent 7c5505e commit 1eb7c4e
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 @@ -727,6 +727,9 @@ def _find_get_set_methods(self, klass, methods):
"UseAxisOrigin", "UseOrientedBounds", "UseTextActor3D",
):
default = int(bool(default))
elif klass_name == "vtkCylinderSource":
if key == "LatLongTesselation":
default = int(bool(default))

if value:
low = getattr(obj, 'Get%sMinValue' % key)()
Expand Down

0 comments on commit 1eb7c4e

Please sign in to comment.