Skip to content

Fix crash in OpenVR with untracked headset

Ken Martin requested to merge ken-martin/vtk:vr_prevent_camera_crash into master

It is possible for renders to be requested prior to having a tracked headset. In this case the code tried to use a nullptr matrix and crashed. Protect against nullptr matrices being returned for devices that have not been tracked yet.

Edited by Ken Martin

Merge request reports