From 9003c4c310f09e765619fbaac875be35e82580a9 Mon Sep 17 00:00:00 2001 From: Kelly Selden Date: Thu, 9 Mar 2017 21:07:58 -0800 Subject: [PATCH] add window to VRFrameData --- vendor/VRControls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/VRControls.js b/vendor/VRControls.js index 6eecd608a10..2fac3192c17 100644 --- a/vendor/VRControls.js +++ b/vendor/VRControls.js @@ -15,7 +15,7 @@ THREE.VRControls = function ( object, onError ) { if ( 'VRFrameData' in window ) { - frameData = new VRFrameData(); + frameData = new window.VRFrameData(); }