Explorar el Código

Merge pull request #6840 from ycw/patch-1

dedupe
David Catuhe hace 6 años
padre
commit
71caac5458
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  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) {