Skip to content

Set the image cache when img is loaded#5778

Merged
dmarcos merged 2 commits into
aframevr:masterfrom
vincentfretin:use-cache-public-api
Dec 18, 2025
Merged

Set the image cache when img is loaded#5778
dmarcos merged 2 commits into
aframevr:masterfrom
vincentfretin:use-cache-public-api

Conversation

@vincentfretin

@vincentfretin vincentfretin commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Set the image cache when img is loaded to avoid a potential non resolving issue if the same img url is loaded via ImageLoader, as discussed in #5776 (comment)

Also use THREE.Cache methods instead of accessing directly THREE.Cache.files in tests.

@vincentfretin vincentfretin changed the title Use THREE.Cache methods instead of accessing directly THREE.Cache.files in tests Set the image cache when img is loaded Dec 17, 2025
@dmarcos
dmarcos merged commit 835aac4 into aframevr:master Dec 18, 2025
1 check passed
@dmarcos

dmarcos commented Dec 18, 2025

Copy link
Copy Markdown
Member

thanks!

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.

2 participants