From 4f9a7a1464b9e4f0411501989614ff2e398f1ed9 Mon Sep 17 00:00:00 2001 From: CrazyH <87752773+CrazyH2@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:57:13 +0000 Subject: [PATCH] nvm --- utils/VREffect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/VREffect.js b/utils/VREffect.js index 10f52d2..e78a1c9 100644 --- a/utils/VREffect.js +++ b/utils/VREffect.js @@ -240,7 +240,7 @@ THREE.VREffect = function ( renderer, onError ) { if ( autoUpdate ) { scene.updateMatrixWorld(); - scene.autoUpdate = false; + scene.matrixWorldAutoUpdate = false; } @@ -387,7 +387,7 @@ THREE.VREffect = function ( renderer, onError ) { if ( autoUpdate ) { - scene.autoUpdate = true; + scene.matrixWorldAutoUpdate = true; }