Closed repalash closed 4 years ago
Hi
I cannot accept your commit, as the multistring character is not supported by old JS versions and I like to keep my code that way.
About the multi root node GLTF Im working on that with a cleaner solution.
Thanks anyway for the PR.
The issue is not about multi-root node GLTF, but with GLTF files where the index of root node != 0.
you were right, I fixed the GLTF. sorry for not using your PR but there were other changes in my code.
Fix to load files where the first node is not the scene root. And a minor change in gltf example so that IDE(Jetbrains) does not show an error with embedded glsl code.
Tested with: https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/CesiumMilkTruck Without this commit, only wheels(of the truck) are loaded.