浏览代码

added dispose of pickedParticles array

jbousquie 9 年之前
父节点
当前提交
da4ea8d060
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Particles/babylon.solidParticleSystem.ts

+ 1 - 0
src/Particles/babylon.solidParticleSystem.ts

@@ -540,6 +540,7 @@ module BABYLON {
             this._fixedNormal32 = null;
             this._uvs32 = null;
             this._colors32 = null;
+            this.pickedParticles = null;
         }
 
         // Optimizer setters