Commit Graph

1 Commits

Author SHA1 Message Date
830cb0d20d glb_writer.py: an external buffer is checked against its own byteLength
read_glb_summary() took buffers[0]'s limit from the embedded BIN chunk even
when the buffer has a uri, so a legal external buffer with no BIN chunk made
every bufferView "exceed buffer 0 (... > 0)". An external buffer's limit is
now its declared byteLength (which must be a non-negative int); the BIN
chunk check applies only to an embedded buffer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 06:35:38 +01:00