Use imageUrlV2 in outfit thumbnails
Without this, 150x150 and 300x300 outfit thumbnails would fail to render new item layers where we didn't have an AWS image layer. Now, they correctly render the new stuff! I tested this with the new "Spooky Stitches Markings" on the Grarrl, which has a blank image in AWS, but works correctly in the new code by loading the image from neopets.com!
This commit is contained in:
parent
3428254318
commit
7bef1f3b9a
1 changed files with 2 additions and 2 deletions
|
@ -167,14 +167,14 @@ async function loadLayerUrlsForSavedOutfit(outfitId, size) {
|
||||||
petAppearance {
|
petAppearance {
|
||||||
layers {
|
layers {
|
||||||
id
|
id
|
||||||
imageUrl(size: $size)
|
imageUrl: imageUrlV2(idealSize: $size)
|
||||||
}
|
}
|
||||||
...PetAppearanceForGetVisibleLayers
|
...PetAppearanceForGetVisibleLayers
|
||||||
}
|
}
|
||||||
itemAppearances {
|
itemAppearances {
|
||||||
layers {
|
layers {
|
||||||
id
|
id
|
||||||
imageUrl(size: $size)
|
imageUrl: imageUrlV2(idealSize: $size)
|
||||||
}
|
}
|
||||||
...ItemAppearanceForGetVisibleLayers
|
...ItemAppearanceForGetVisibleLayers
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue