Commit 721da210 authored by amandaghassaei's avatar amandaghassaei

small changes

parent 62bf8ef4
......@@ -47,7 +47,7 @@ function initViveInterface(globals){
if (!display) return;
$status.html("VR device detected.");
setup();
var button = WEBVR.getButton( display, renderer.domElement );
var button = WEBVR.getButton( display, globals.threeView.renderer.domElement );
document.body.appendChild(button);
button.onclick = function () {
if (display.isPresenting) globals.vrEnabled = false;
......
Markdown is supported
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