Skip to content

Commit

Permalink
FIX: More
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 14, 2024
1 parent ecb38ba commit 191f251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tvtk/vtk_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 191f251

Please sign in to comment.