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

TGALoader: Bubble parsing errors. #26497

Merged
merged 2 commits into from
Jul 26, 2023
Merged

TGALoader: Bubble parsing errors. #26497

merged 2 commits into from
Jul 26, 2023

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jul 26, 2023

Related issue: #26457

Description

This PR ensures TGALoader does not log errors but throws them instead. DataTextureLoader then catches the error and executes onError() if available. Otherwise the error is logged as before.

When this PR is approved, its approach can be used in all other loaders deriving from DataTextureLoader.

@Mugen87 Mugen87 requested a review from gkjohnson July 26, 2023 08:30
@github-actions
Copy link

github-actions bot commented Jul 26, 2023

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
645.5 kB (160 kB) 645.6 kB (160 kB) +61 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
438.6 kB (106.1 kB) 438.6 kB (106.1 kB) +0 B

@Mugen87 Mugen87 merged commit 33487fb into mrdoob:dev Jul 26, 2023
18 checks passed
@Mugen87 Mugen87 added this to the r155 milestone Jul 26, 2023
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