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

fix(io): Handle duplicate URIs on read/write (v2) #1522

Merged
merged 4 commits into from
Oct 8, 2024

Conversation

donmccurdy
Copy link
Owner

@donmccurdy donmccurdy commented Oct 8, 2024

Partially restores #1511, this time without changes to the reading process. While writing, a warning is logged if two resources share the same URI. If the two textures sharing a URI are not identical, an warning is logged. If two buffers sharing a URI are not identical, an error is thrown.

This clarifies but does not technically fix #1509, the extra buffers must be removed. Exporting to .glb would do that automatically.

@donmccurdy donmccurdy added bug Something isn't working package:core labels Oct 8, 2024
@donmccurdy donmccurdy added this to the v4.1 milestone Oct 8, 2024
@donmccurdy donmccurdy merged commit 22ac8c4 into main Oct 8, 2024
7 checks passed
@donmccurdy donmccurdy deleted the fix/io-duplicate-uris-v2 branch October 8, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate image URIs are blank Object transforms look off after using Instance
1 participant