浏览代码

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 6 年之前
父节点
当前提交
eb594908f7
共有 1 个文件被更改,包括 0 次插入4 次删除
  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) {