Skip to content
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

Running a three obj method on an indexed geometry causes the index attribute to disappear #294

Open
sirbardo opened this issue Nov 5, 2019 · 0 comments

Comments

@sirbardo
Copy link

sirbardo commented Nov 5, 2019

Here is a screenshot demonstrating a minimum reproducible bit of code that causes the problem:

image

I would like to add that the three obj method does work, but only once: the first time it's run it does effectively set the draw range, but since it "kills" the index attribute it can not be run more than once.

MORE INFO:

the index is being lost in the three.js function "syncToModel", because for some reason it thinks it's an "attribute generated by three", or something like that. I will report back with more info / a pull request if I can fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant