Skip to content

Commit dba8237

Browse files
fix(vtk): add OpenGL2 import to ensure correct factory registration with VTK 9.5
1 parent f6c164a commit dba8237

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

trame_rca/vtk_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import json
22
from packaging.version import Version
3+
import vtkmodules.vtkRenderingOpenGL2 # noqa
34
from vtkmodules.util.numpy_support import vtk_to_numpy
45
from vtkmodules.vtkCommonCore import vtkCommand, vtkVersion
56
from vtkmodules.vtkRenderingCore import vtkRenderWindow, vtkWindowToImageFilter

0 commit comments

Comments
 (0)