2
0
Эх сурвалжийг харах

Make CSS3DRenderer respect scene.autoUpdate

donutcoffee 5 жил өмнө
parent
commit
4cc9e856dc

+ 1 - 1
examples/js/renderers/CSS3DRenderer.js

@@ -296,7 +296,7 @@ THREE.CSS3DRenderer = function () {
 
 
 		}
 		}
 
 
-		scene.updateMatrixWorld();
+		if (scene.autoUpdate === true) { scene.updateMatrixWorld(); }
 
 
 		if ( camera.parent === null ) camera.updateMatrixWorld();
 		if ( camera.parent === null ) camera.updateMatrixWorld();