Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KTX2Loader: Warn when multiple instances in use. #22621

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

donmccurdy
Copy link
Collaborator

Related issue: #20958

Have been seeing demos (they happened to be with R3F, although I don't think the framework itself is causing this) where multiple KTX2Loader instances are created and the transcoder is fetched repeatedly. Hoping to warn users when that happens, and ensure that the web worker pool is used efficiently.

@mrdoob mrdoob added this to the r134 milestone Oct 4, 2021
@mrdoob mrdoob merged commit 6d41436 into mrdoob:dev Oct 4, 2021
@mrdoob
Copy link
Owner

mrdoob commented Oct 4, 2021

Thanks!

@donmccurdy donmccurdy deleted the feat-ktx2loader-singleton branch October 4, 2021 17:45
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