diff options
| author | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 06:35:38 +0100 |
|---|---|---|
| committer | bbareth <179921368+BBareth@users.noreply.github.com> | 2026-11-22 06:35:38 +0100 |
| commit | 830cb0d20ddd2c3b5cf5417d58b7b0b45ef0d889 (patch) | |
| tree | a3440f91bb9dfb258d03feac7799a1e023d3003d /runtime/src/main.cpp | |
| parent | 067d3e8b97189fcf272dc699fdbb871eae496660 (diff) | |
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>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions