|
@@ -161,8 +161,8 @@ THREE.CSS2DRenderer = function () {
|
|
};
|
|
};
|
|
|
|
|
|
this.render = function ( scene, camera ) {
|
|
this.render = function ( scene, camera ) {
|
|
-
|
|
|
|
- scene.updateMatrixWorld();
|
|
|
|
|
|
+
|
|
|
|
+ if ( scene.autoUpdate === true ) { scene.updateMatrixWorld(); }
|
|
|
|
|
|
if ( camera.parent === null ) camera.updateMatrixWorld();
|
|
if ( camera.parent === null ) camera.updateMatrixWorld();
|
|
|
|
|