diff --git a/build/three.js b/build/three.js index b09e3ec35a17e3c1c5978a575b55a0163c87b97b..36e9bdc141bd23194f3d196aba33042bcb63a723 100644 --- a/build/three.js +++ b/build/three.js @@ -23289,9 +23289,9 @@ THREE.Scene = function () { THREE.Scene.prototype = Object.create( THREE.Object3D.prototype ); THREE.Scene.prototype.constructor = THREE.Scene; -THREE.Scene.prototype.copy = function ( source ) { +THREE.Scene.prototype.copy = function ( source, recursive ) { - THREE.Object3D.prototype.copy.call( this, source ); + THREE.Object3D.prototype.copy.call( this, source, recursive ); if ( source.fog !== null ) this.fog = source.fog.clone(); if ( source.overrideMaterial !== null ) this.overrideMaterial = source.overrideMaterial.clone(); diff --git a/build/three.min.js b/build/three.min.js index df4334d49801dd43cd9e06f6b96815c77ff8b4df..e8a261ece9db68edc1bfb96f0cfe1802e3fb4e90 100644 --- a/build/three.min.js +++ b/build/three.min.js @@ -514,7 +514,7 @@ THREE.LensFlare=function(a,b,c,d,e){THREE.Object3D.call(this);this.lensFlares=[] THREE.LensFlare.prototype.add=function(a,b,c,d,e,f){void 0===b&&(b=-1);void 0===c&&(c=0);void 0===f&&(f=1);void 0===e&&(e=new THREE.Color(16777215));void 0===d&&(d=THREE.NormalBlending);c=Math.min(c,Math.max(0,c));this.lensFlares.push({texture:a,size:b,distance:c,x:0,y:0,z:0,scale:1,rotation:0,opacity:f,color:e,blending:d})}; THREE.LensFlare.prototype.updateLensFlares=function(){var a,b=this.lensFlares.length,c,d=2*-this.positionScreen.x,e=2*-this.positionScreen.y;for(a=0;a