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

STLLoader: Fix computation of groups data. #18367

Merged
merged 1 commit into from
Jan 11, 2020
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jan 11, 2020

Fixed #18361

#17272 was not entirely correct since the computation of group data was wrong. Group data are defined by start, count and materialIndex. count represents the amount of vertices/indices from start. The previous implementation added start to count which is obviously wrong.

/cc @AlbertoPa

@Mugen87 Mugen87 added this to the r113 milestone Jan 11, 2020
@Mugen87 Mugen87 merged commit a2a773a into mrdoob:dev Jan 11, 2020
@AlbertoPa
Copy link
Contributor

Thank you for fixing this, @Mugen87, and apologies for introducing a bug.

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Jan 11, 2020

Don't worry. We've all missed this when reviewing^^.

@mrdoob
Copy link
Owner

mrdoob commented Jan 11, 2020

Thanks!

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

Successfully merging this pull request may close these issues.

Problem with STLLoader
3 participants