Skip to content

Fix OpenVR "failed to get HMD" error

Force to render before getting HMD

Previously, the "failed to get HMD" error message was display if we didn't Render the vtkOpenVRRenderWindow before retrieving the HMD.

It forces now to render first if it's not done.

This fix avoid to forget to render before looping in the vtkOpenVRRenderWindowInteractor::StartEventLoop()

Merge request reports