@esotericsoftware/spine-phaser-v3 4.2.94 → 4.2.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SpinePlugin.js +5 -2
- package/dist/esm/spine-phaser-v3.min.mjs +1 -1
- package/dist/esm/spine-phaser-v3.mjs +3 -1
- package/dist/esm/spine-phaser-v3.mjs.map +2 -2
- package/dist/iife/spine-phaser-v3.js +3 -1
- package/dist/iife/spine-phaser-v3.js.map +2 -2
- package/dist/iife/spine-phaser-v3.min.js +1 -1
- package/package.json +4 -4
|
@@ -14978,7 +14978,9 @@ void main () {
|
|
|
14978
14978
|
textures.push(line);
|
|
14979
14979
|
}
|
|
14980
14980
|
}
|
|
14981
|
-
let
|
|
14981
|
+
let fileUrl = file.url;
|
|
14982
|
+
if (typeof fileUrl === "object") fileUrl = file.src;
|
|
14983
|
+
let basePath = (fileUrl.match(/^.*\//) ?? "").toString();
|
|
14982
14984
|
if (this.loader.path && this.loader.path.length > 0 && basePath.startsWith(this.loader.path))
|
|
14983
14985
|
basePath = basePath.slice(this.loader.path.length);
|
|
14984
14986
|
for (var i = 0; i < textures.length; i++) {
|