Commit 721da210 authored by amandaghassaei's avatar amandaghassaei
Browse files

small changes

parent 62bf8ef4
......@@ -47,7 +47,7 @@ function initViveInterface(globals){
if (!display) return;
$status.html("VR device detected.");
var button = WEBVR.getButton( display, renderer.domElement );
var button = WEBVR.getButton( display, globals.threeView.renderer.domElement );
button.onclick = function () {
if (display.isPresenting) globals.vrEnabled = false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment