]> OCCT Git - occt.git/commit
Data Exchange, GLTF Reader - Fix indices during parsering of arrays (#602)
authorsshutina <svetlana.shutina@opencascade.com>
Mon, 14 Jul 2025 10:04:03 +0000 (11:04 +0100)
committerdpasukhi <dpasukhi@opencascade.com>
Sat, 6 Sep 2025 20:18:29 +0000 (21:18 +0100)
commit1eb67b25d3a2a3e70c86f631bd59c858d69acd4f
treed3d230a940d5a3cffe8c42131b6a732114c36f23
parent9e4d04920b90ed9d4c9e4cafd00a4973b0d8edd4
Data Exchange, GLTF Reader - Fix indices during parsering of arrays (#602)

- Use the loop index (`anIndex` or `i`) instead of always reading `theValue[0]`.
- Preserve existing behavior of array allocation and string concatenation.
- Updated three loops in `RWGltf_GltfJsonParser.cxx` to reference the correct element.
src/RWGltf/RWGltf_GltfJsonParser.cxx