docs/testing.md had the whole "GPUs with 128 bytes of push constants"
section twice in a row (identical), and the first copy had no blank line
before its heading. docs/embedded_shaders.md section 4 repeated the
"blocker then / now" table and the "disassembly count is unchanged"
paragraph after the remaining-blocker table. tests/test_skinned_glb.py
defined SkinnedGlbTest.test_full_export_without_numpy twice (identical),
so the first definition was dead.
The second copy of each goes; nothing else changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
_load_json called json.load unguarded, and main catches only SkinError and
OSError, so a model.json an interrupted export left behind ended in a
JSONDecodeError or UnicodeDecodeError traceback. It now raises SkinError
naming the file, which main prints as error: and exit 2, like the tool's
other bad inputs. Tests cover the three cases for the skeleton, a component
and _load_json itself.
The accessor size includes the strides between elements and the final element itself. Counting a trailing stride rejects valid attributes at the end of a BIN chunk.
Zero zero-weight joint indices before the palette lookup, so the numpy path matches the stdlib path instead of raising IndexError.
Strengthen the packed test to set bits 12-15, and add tests for mesh_blob.sections and the empty component list. Document that only 0x8C is accepted (no measured 0x8B layout), add the 0x8C docs row and correct the test count to 15.
Slots 8/9 may store four u32 words per vertex with the joint index in bits 0..11. Convert that to the same 4 x u8 rows as 0x25, rejecting an index above 255 and a stream shorter than 16 bytes per vertex.
Add synthetic coverage for the decode, an out-of-range index and a short stream; document the layout beside 0x25.