Explorar o código

Update babylon.particleSystem.js

KK %!s(int64=9) %!d(string=hai) anos
pai
achega
bcf248e30c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Particles/babylon.particleSystem.js

+ 1 - 1
src/Particles/babylon.particleSystem.js

@@ -332,7 +332,7 @@ var BABYLON;
         ParticleSystem.prototype.serialize = function () {
             var serializationObject = {};
             serializationObject.name = this.name;
-            if (this.emittor.position) {
+            if (this.emitter.position) {
                 serializationObject.emitterId = this.emitter.id;
             } else {
                 serializationObject.emitter = this.emitter.asArray();