|
@@ -98,9 +98,9 @@ class Object3D extends EventDispatcher {
|
|
|
this.matrixWorld = new Matrix4();
|
|
|
|
|
|
this.matrixAutoUpdate = Object3D.DEFAULT_MATRIX_AUTO_UPDATE;
|
|
|
- this.matrixWorldNeedsUpdate = false;
|
|
|
|
|
|
this.matrixWorldAutoUpdate = Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE; // checked by the renderer
|
|
|
+ this.matrixWorldNeedsUpdate = false;
|
|
|
|
|
|
this.layers = new Layers();
|
|
|
this.visible = true;
|
|
@@ -967,9 +967,9 @@ class Object3D extends EventDispatcher {
|
|
|
this.matrixWorld.copy( source.matrixWorld );
|
|
|
|
|
|
this.matrixAutoUpdate = source.matrixAutoUpdate;
|
|
|
- this.matrixWorldNeedsUpdate = source.matrixWorldNeedsUpdate;
|
|
|
|
|
|
this.matrixWorldAutoUpdate = source.matrixWorldAutoUpdate;
|
|
|
+ this.matrixWorldNeedsUpdate = source.matrixWorldNeedsUpdate;
|
|
|
|
|
|
this.layers.mask = source.layers.mask;
|
|
|
this.visible = source.visible;
|