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
1369 resizeGL(_glWidget->width(),_glWidget->height());1369 resizeGL(_glWidget->width(),_glWidget->height());
1370}1370}
1371 1371
1372void Application::setEnableVRMode(bool enableVRMode) {
1373 resizeGL(_glWidget->width(), _glWidget->height());
1374}
1372 1375
1373void Application::setRenderVoxels(bool voxelRender) {1376void Application::setRenderVoxels(bool voxelRender) {
1374 _voxelEditSender.setShouldSend(voxelRender);1377 _voxelEditSender.setShouldSend(voxelRender);