Bläddra i källkod

Fixing particles clone

Deltakosh 11 år sedan
förälder
incheckning
0d275bb42b
1 ändrade filer med 1 tillägg och 1 borttagningar
  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();