diff options
| author | cixotdev <339371196+cixotdev@users.noreply.github.com> | 2026-11-22 15:38:59 -0300 |
|---|---|---|
| committer | cixotdev <339371196+cixotdev@users.noreply.github.com> | 2026-11-22 15:38:59 -0300 |
| commit | 8f53961c198b11ef271d55dc81391a5cdf4ccebb (patch) | |
| tree | 8e96034f5744b326161c69d7976938e8fe2c4999 /runtime/test/loader_test.cpp | |
| parent | ec8ec4c9a46c6623f1a9c125afd3566da97f1e0c (diff) | |
gamedata_reader: keep streaming root parity, extra vector attributes and single type counts
- Keep Reader.read() aligned with Reader.convert() on root type handlers, type="NULL", attribute conventions, and stats["object"], and detach cleared top-level elements from root via del root[:].
- Match vector elements by float x/y/z/w attributes so vectors with extra attributes retain their tuple value via "$value", while non-vector x/y/z/w attributes are preserved as @x/@y/@z/@w instead of failing _float() or being dropped.
- Avoid double-counting types[t] and stats["extra attributes"] when a registered type handler falls back to reader.convert(el, use_type_handler=False).
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions