-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to iter over sparse accessor #313
Comments
Could you elaborate on what you expected to happen and what actually happened? Were any positions printed? |
|
Lines 148 to 152 in 47acbef
Does it work as expected if you change line 149 to: let hint = self.indices.len() - self.counter as usize; |
No, it does not work. The |
We encountered this issue on one of our assets. I dug into it and wrote a fix for it: I added some unit tests based on the repro-code @wsw0108 posted above. Thanks for that 👍 At the same time I also discovered that the sparse accessor iterator could not read accessors where the |
sample model: https://github.com/cx20/gltf-test/tree/master/tutorialModels/SimpleSparseAccessor
The text was updated successfully, but these errors were encountered: