Commit 73de352d authored by David Gobbi's avatar David Gobbi
Browse files

Load implementations for factory classes that are used

Without this, the example will crash because the rendering classes
and interactor classes cannot be instantiated.
parent 6eba94e8
......@@ -540,6 +540,9 @@ def QVTKRenderWidgetConeExample():
from vtkmodules.vtkFiltersSources import vtkConeSource
from vtkmodules.vtkRenderingCore import vtkActor, vtkPolyDataMapper, vtkRenderer
# load implementations for rendering and interaction factory classes
import vtkmodules.vtkRenderingOpenGL2
import vtkmodules.vtkInteractionStyle
# every QT app needs an app
app = QApplication(['QVTKRenderWindowInteractor'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment