Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
ignore hash when checking cache validity (#10900)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinomut1 authored Aug 6, 2024
1 parent 50aa284 commit 98c0b1f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ class CachedImageLoadExtension extends ImporterExtension implements GLTFLoaderPl

loadTexture(textureIndex) {
const options = this.parser.options
if (!options.url?.endsWith('.gltf')) {
const baseURL = new URL(options.url)

if (!baseURL.pathname.endsWith('.gltf')) {
return this.parser.loadTexture(textureIndex)
}
const json = this.parser.json
Expand Down

0 comments on commit 98c0b1f

Please sign in to comment.