Skip to content

Commit

Permalink
fix(parse-i3s): getting root node url for normalizeTilesetData withou…
Browse files Browse the repository at this point in the history
…t nodepages
  • Loading branch information
maxkuznetsov-actionengine committed Sep 25, 2023
1 parent 361ca5b commit aa1e904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/i3s/src/lib/parsers/parse-i3s.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export async function normalizeTilesetData(tileset : SceneLayer3D, options : Loa
root = await nodePagesTile.formTileFromNodePages(0);
} else {
// @ts-expect-error options is not properly typed
const rootNodeUrl = getUrlWithToken(`${tileset.url}/nodes/root`, options.i3s?.token);
const rootNodeUrl = getUrlWithToken(`${url}/nodes/root`, options.i3s?.token);
// eslint-disable-next-line no-use-before-define
root = await load(rootNodeUrl, I3SLoader, {
...options,
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4141,9 +4141,9 @@ camelcase@^5.0.0, camelcase@^5.3.1:
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==

caniuse-lite@^1.0.30001449:
version "1.0.30001538"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001538.tgz"
integrity sha512-HWJnhnID+0YMtGlzcp3T9drmBJUVDchPJ08tpUGFLs9CYlwWPH2uLgpHn8fND5pCgXVtnGS3H4QR9XLMHVNkHw==
version "1.0.30001539"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001539.tgz"
integrity sha512-hfS5tE8bnNiNvEOEkm8HElUHroYwlqMMENEzELymy77+tJ6m+gA2krtHl5hxJaj71OlpC2cHZbdSMX1/YEqEkA==

caseless@~0.12.0:
version "0.12.0"
Expand Down

0 comments on commit aa1e904

Please sign in to comment.