Browse Source

Merge pull request #6840 from ycw/patch-1

dedupe
David Catuhe 6 năm trước cách đây
mục cha
commit
71caac5458
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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) {