Explorar o código

added dispose of pickedParticles array

jbousquie %!s(int64=9) %!d(string=hai) anos
pai
achega
da4ea8d060
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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