From 191f251b28f9889c4818492343d633628cf11266 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Wed, 14 Feb 2024 12:31:22 -0500 Subject: [PATCH] FIX: More --- tvtk/vtk_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tvtk/vtk_parser.py b/tvtk/vtk_parser.py index 0f555cc5..63abe8a5 100644 --- a/tvtk/vtk_parser.py +++ b/tvtk/vtk_parser.py @@ -717,10 +717,10 @@ def _find_get_set_methods(self, klass, methods): # If we don't turn these into integers, they won't instantiate if is_version_9(): if klass_name == "vtkAxisActor": - if key == "AxisOnOrigin": + if key in ("AxisOnOrigin", "Use2DMode"): default = int(bool(default)) elif klass_name in ("vtkCubeAxesActor", "vtkPolarAxesActor"): - if key == "EnableDistanceLOD": + if key in ("EnableDistanceLOD", "EnableViewAngleLOD"): default = int(bool(default)) if value: