|
@@ -531,6 +531,7 @@ function WebGLRenderer( parameters ) {
|
|
|
vr.dispose();
|
|
|
|
|
|
isAnimating = false;
|
|
|
+
|
|
|
};
|
|
|
|
|
|
// Events
|
|
@@ -1068,8 +1069,13 @@ function WebGLRenderer( parameters ) {
|
|
|
function loop( time ) {
|
|
|
|
|
|
if ( isAnimating === false || onAnimationFrame === null )
|
|
|
+ {
|
|
|
+
|
|
|
+ isAnimating = false;
|
|
|
return;
|
|
|
|
|
|
+ }
|
|
|
+
|
|
|
if ( onAnimationFrame !== null ) onAnimationFrame( time );
|
|
|
|
|
|
var device = vr.getDevice();
|