Bläddra i källkod

Merge pull request #6840 from ycw/patch-1

dedupe
David Catuhe 6 år sedan
förälder
incheckning
71caac5458
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      src/Particles/gpuParticleSystem.ts

+ 0 - 4
src/Particles/gpuParticleSystem.ts

@@ -1494,10 +1494,6 @@ export class GPUParticleSystem extends BaseParticleSystem implements IDisposable
         }
 
         result.noiseTexture = this.noiseTexture;
-        result.emitter = newEmitter;
-        if (this.particleTexture) {
-            result.particleTexture = new Texture(this.particleTexture.url, this._scene);
-        }
 
         // Clone gradients
         if (this._colorGradients) {