Explorar o código

Fixing particles clone

Deltakosh %!s(int64=11) %!d(string=hai) anos
pai
achega
0d275bb42b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Babylon/Particles/babylon.particleSystem.js

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

@@ -380,7 +380,7 @@ var BABYLON = BABYLON || {};
 
         result.emitter = newEmitter;
         if (this.particleTexture) {
-            result.particleTexture = new BABYLON.Texture(this.particleTexture.name, this._scene);
+            result.particleTexture = new BABYLON.Texture(this.particleTexture.url, this._scene);
         }
 
         result.start();