webvr-libs
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "webvr-libs", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "WebVR libraries", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -154,2 +154,11 @@ /** | ||
var autoUpdate = scene.autoUpdate; | ||
if ( autoUpdate ) { | ||
scene.updateMatrixWorld(); | ||
scene.autoUpdate = false; | ||
} | ||
var eyeParamsL = vrHMD.getEyeParameters( 'left' ); | ||
@@ -213,2 +222,8 @@ var eyeParamsR = vrHMD.getEyeParameters( 'right' ); | ||
if ( autoUpdate ) { | ||
scene.autoUpdate = true; | ||
} | ||
if ( isPresenting && !deprecatedAPI ) { | ||
@@ -215,0 +230,0 @@ |
167536
4954