* honor recursive argument in copy method of classes derived from Object3D * add recursive argument to copy method of classes inheriting from Object3D
@@ -60,9 +60,9 @@ class MorphAnimMesh extends Mesh {
}
- copy( source ) {
+ copy( source, recursive ) {
- super.copy( source );
+ super.copy( source, recursive );
this.mixer = new AnimationMixer( this );
@@ -207,9 +207,9 @@ class LightningStorm extends Object3D {
this.stormParams.size = source.stormParams.size;
this.stormParams.minHeight = source.stormParams.minHeight;
@@ -91,9 +91,9 @@ class BoxHelper extends LineSegments {
this.object = source.object;
@@ -19,9 +19,9 @@ class HemisphereLight extends Light {
this.groundColor.copy( source.groundColor );
@@ -22,9 +22,9 @@ class Light extends Object3D {
this.color.copy( source.color );
this.intensity = source.intensity;
@@ -39,9 +39,9 @@ class PointLight extends Light {
this.distance = source.distance;
this.decay = source.decay;
@@ -47,9 +47,9 @@ class SpotLight extends Light {
this.angle = source.angle;
@@ -26,9 +26,9 @@ class InstancedMesh extends Mesh {
this.instanceMatrix.copy( source.instanceMatrix );
@@ -30,9 +30,9 @@ class Line extends Object3D {
this.material = source.material;
this.geometry = source.geometry;
@@ -49,9 +49,9 @@ class Mesh extends Object3D {
if ( source.morphTargetInfluences !== undefined ) {
@@ -28,9 +28,9 @@ class Points extends Object3D {
@@ -27,9 +27,9 @@ class SkinnedMesh extends Mesh {
this.bindMode = source.bindMode;
this.bindMatrix.copy( source.bindMatrix );
@@ -137,9 +137,9 @@ class Sprite extends Object3D {
if ( source.center !== undefined ) this.center.copy( source.center );