Skip to content

fix: resolve sog texture urls from document base#8754

Merged
kpal81xd merged 1 commit into
mainfrom
fix/sog-parser-base-uri
May 21, 2026
Merged

fix: resolve sog texture urls from document base#8754
kpal81xd merged 1 commit into
mainfrom
fix/sog-parser-base-uri

Conversation

@kpal81xd
Copy link
Copy Markdown
Contributor

Description

Resolve unpacked SOG child texture URL generation relative to document.baseURI when no asset.options.mapUrl override is provided.

meta.json requests can honor a page tag, but SogParser previously resolved sibling .webp files against window.location.href. The scope is limited to unpacked SOG fallback texture URL resolution; absolute URLs and asset.options.mapUrl behavior are unchanged.

Manual testing

Manual tests: not run. Browser validation recommended:

  • Load targeted unpacked SOG examples.
  • Confirm .webp requests resolve from /static/assets/splats/... when the page uses .

Checklist

  • I have read the contributing guidelines
  • My code follows the project's coding standards
  • This PR focuses on a single change

@kpal81xd kpal81xd merged commit b8840de into main May 21, 2026
13 of 14 checks passed
@kpal81xd kpal81xd deleted the fix/sog-parser-base-uri branch May 21, 2026 10:02
@LeXXik
Copy link
Copy Markdown
Contributor

LeXXik commented May 21, 2026

Will it work if the url doesn't use localhost string, but numbers, e.g. 127.0.0.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants