소스 검색

fix back mesh creation

Jérôme Bousquié 5 년 전
부모
커밋
d87fbbb6f2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Particles/solidParticleSystem.ts

+ 1 - 1
src/Particles/solidParticleSystem.ts

@@ -189,7 +189,7 @@ export class SolidParticleSystem implements IDisposable {
         if (this._colors32.length > 0) {
             vertexData.set(this._colors32, VertexBuffer.ColorKind);
         }
-        if (!this.mesh && this._expandable) {       // in case it's expanded
+        if (!this.mesh) {       // in case it's already expanded
             var mesh = new Mesh(this.name, this._scene);
             this.mesh = mesh;
         }