[vtkusers] vtkImporter subclass may break OpenVR application

Carlos Lopez rcourant at gmail.com
Tue May 2 11:28:54 EDT 2017


Hello,

I'd like to share an issue I've  been tracking with an application that
uses OpenVR where the window would close suddenly.

The issue is related to vtkImporter, as I was using a subclass that did not
need access to the main vtkOpenVRRenderWindow, so it defaulted to creating
its own render window.

Clearing vtkImporter also calls the vtkOpenVRRenderWindow destructor, which
shuts down the connections to the OpenVR system for the whole app.

This strange interaction is enabled when compiling VTK with the factory
option for OpenVR.

best,
carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170502/e56b775a/attachment.html>


More information about the vtkusers mailing list