History

Add menu item that toggles VR display mode

Toggles the display mode if a Rift is found connected at program start.

David Rowe committed 12 years ago

Commit 39e3deb1 parent f3fb3956 files · +19 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all

Unified · Split

interface/src/Application.cpp+3−0
@@ -1369,6 +1369,9 @@ void Application::setEnable3DTVMode(bool enable3DTVMode) { · 1368 unmodified lines
13691369 resizeGL(_glWidget->width(),_glWidget->height());
13701370 }
13711371
1372+void Application::setEnableVRMode(bool enableVRMode) {
1373+ resizeGL(_glWidget->width(), _glWidget->height());
1374+}
13721375
13731376 void Application::setRenderVoxels(bool voxelRender) {
13741377 _voxelEditSender.setShouldSend(voxelRender);