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