Explorar o código

Update babylon.particleSystem.ts

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

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

@@ -450,7 +450,7 @@
             var serializationObject: any = {};
 
             serializationObject.name = this.name;
-            if (this.emittor.position) {
+            if (this.emitter.position) {
                 serializationObject.emitterId = this.emitter.id;
             } else {
                 serializationObject.emitter = this.emitter.asArray();;