Przeglądaj źródła

Fixing particles clone

Deltakosh 11 lat temu
rodzic
commit
0d275bb42b
1 zmienionych plików z 1 dodań i 1 usunięć
  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();