Explorar el Código

Fixing particles clone

Deltakosh hace 11 años
padre
commit
0d275bb42b
Se han modificado 1 ficheros con 1 adiciones y 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();