@pixi/spritesheet
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -63,5 +63,6 @@ 'use strict'; | ||
} | ||
const imagePath = basePath + asset.meta.image; | ||
const assets = await loader.load([imagePath]); | ||
const texture = assets[imagePath]; | ||
let imagePath = basePath + asset.meta.image; | ||
imagePath = assets.copySearchParams(imagePath, options.src); | ||
const assets$1 = await loader.load([imagePath]); | ||
const texture = assets$1[imagePath]; | ||
const spritesheet = new Spritesheet.Spritesheet(texture.baseTexture, asset, options.src); | ||
@@ -76,6 +77,7 @@ await spritesheet.parse(); | ||
} | ||
const itemUrl = basePath + item; | ||
let itemUrl = basePath + item; | ||
if (options.data?.ignoreMultiPack) { | ||
continue; | ||
} | ||
itemUrl = assets.copySearchParams(itemUrl, options.src); | ||
promises.push(loader.load({ | ||
@@ -82,0 +84,0 @@ src: itemUrl, |
{ | ||
"name": "@pixi/spritesheet", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"main": "lib/index.js", | ||
@@ -42,3 +42,3 @@ "module": "lib/index.mjs", | ||
], | ||
"gitHead": "4079e92895ecb692afe9f0b15d3e48ee40852ada" | ||
"gitHead": "99b26d1d5a18760019b034c69c5979ca5e6c536b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77507
620