Przeglądaj źródła

Removing unnecessary lines

Julien MOREAU-MATHIS 7 lat temu
rodzic
commit
b27952e416
1 zmienionych plików z 0 dodań i 14 usunięć
  1. 0 14
      src/Particles/babylon.particleSystem.ts

+ 0 - 14
src/Particles/babylon.particleSystem.ts

@@ -1593,20 +1593,6 @@
                 particleSystem.preventAutoStart = parsedParticleSystem.preventAutoStart;
             }
 
-            if (parsedParticleSystem.minEmitBox) {
-                particleSystem.minEmitBox = Vector3.FromArray(parsedParticleSystem.minEmitBox);
-            }
-            if (parsedParticleSystem.maxEmitBox) {
-                particleSystem.maxEmitBox = Vector3.FromArray(parsedParticleSystem.maxEmitBox);
-            }
-
-            if (parsedParticleSystem.direction1) {
-                particleSystem.direction1 = Vector3.FromArray(parsedParticleSystem.direction1);
-            }
-            if (parsedParticleSystem.direction2) {
-                particleSystem.direction2 = Vector3.FromArray(parsedParticleSystem.direction2);
-            }
-
             ParticleSystem._Parse(parsedParticleSystem, particleSystem, scene, rootUrl);
 
             particleSystem.textureMask = Color4.FromArray(parsedParticleSystem.textureMask);