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)()