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

ColladaLoader: fix cases where VERTEX and NORMAL share same polylist <p> #2825

Merged
merged 3 commits into from
Aug 25, 2020

Conversation

k-okada
Copy link
Contributor

@k-okada k-okada commented Aug 14, 2020

gazebo9 version of #2811
fix: #2682 (comment)

…ORMAL) * vcount.size() * 3. If both VERTEX and NORMAL have offset 0, then the length of polylist <p> is vcount.size() * 3. So use length of set(offset) as inputSize. This fix for cases where VERTEX and NROMAL share same vcounts, see gazebosim#2682 (comment)
@iche033
Copy link
Contributor

iche033 commented Aug 15, 2020

@osrf-jenkins run tests please

@scpeters scpeters changed the title fix cases where VERTEX and NROMAL share same polylist <p> fix cases where VERTEX and NORMAL share same polylist <p> Aug 25, 2020
@scpeters scpeters changed the title fix cases where VERTEX and NORMAL share same polylist <p> ColladaLoader: fix cases where VERTEX and NORMAL share same polylist <p> Aug 25, 2020
@scpeters
Copy link
Member

the windows and homebrew builds both got disconnected

@scpeters
Copy link
Member

@osrf-jenkins run tests please


this->ProcessEventsAndDraw(mainWindow);

// There should be two triangles.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update this comment and then merge, since CI looks fine

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters merged commit 439247e into gazebosim:gazebo9 Aug 25, 2020
@k-okada k-okada deleted the fix_2682_gazebo9 branch August 26, 2020 01:07
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.

Segmentation fault on spawning model with collada mesh generated by assimp on ubuntu 18.04
3 participants