]> 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)
committerGitHub <noreply@github.com>
Mon, 14 Jul 2025 10:04:03 +0000 (11:04 +0100)
commitef187e7b200314d439136d372f90a5fe282d4293
tree6ba2019b7d0b282ce81138103088d45eb2a5e2a8
parent06f6a5afeca6b58c390b203f95e69be8c34b72aa
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/DataExchange/TKDEGLTF/RWGltf/RWGltf_GltfJsonParser.cxx