Skip to content

Commit

Permalink
nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyH2 committed Mar 21, 2024
1 parent 9834fc2 commit 4f9a7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/VREffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ THREE.VREffect = function ( renderer, onError ) {
if ( autoUpdate ) {

scene.updateMatrixWorld();
scene.autoUpdate = false;
scene.matrixWorldAutoUpdate = false;

}

Expand Down Expand Up @@ -387,7 +387,7 @@ THREE.VREffect = function ( renderer, onError ) {

if ( autoUpdate ) {

scene.autoUpdate = true;
scene.matrixWorldAutoUpdate = true;

}

Expand Down

0 comments on commit 4f9a7a1

Please sign in to comment.