|
@@ -50,26 +50,22 @@ class Scene extends Object3D {
|
|
|
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
-
|
|
|
-// r144
|
|
|
-
|
|
|
-Object.defineProperty( Scene.prototype, 'autoUpdate', {
|
|
|
+ // Deprecated
|
|
|
|
|
|
- get() {
|
|
|
+ get autoUpdate() {
|
|
|
|
|
|
- console.warn( 'THREE.Scene: autoUpdate has been renamed matrixWorldAutoUpdate.' );
|
|
|
+ console.warn( 'THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144.' );
|
|
|
return this.matrixWorldAutoUpdate;
|
|
|
|
|
|
- },
|
|
|
+ }
|
|
|
|
|
|
- set( value ) {
|
|
|
+ set autoUpdate( value ) {
|
|
|
|
|
|
- console.warn( 'THREE.Scene: autoUpdate has been renamed matrixWorldAutoUpdate.' );
|
|
|
+ console.warn( 'THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144.' );
|
|
|
this.matrixWorldAutoUpdate = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
-} );
|
|
|
+}
|
|
|
|
|
|
export { Scene };
|