From 1eb7c4ec91e0da48016ce8784cdcab7d749995ba Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Wed, 14 Feb 2024 16:26:34 -0500 Subject: [PATCH] FIX: Maybe --- tvtk/vtk_parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tvtk/vtk_parser.py b/tvtk/vtk_parser.py index 031af8f3..39efd9bc 100644 --- a/tvtk/vtk_parser.py +++ b/tvtk/vtk_parser.py @@ -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)()