Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

stammen
Copy link

@stammen stammen commented May 25, 2016

The crash on windows (and probably should crash on all platforms) is in AutoPolygon::triangulate(). The sizes of the verts and indices arrays were being set before all of the triangles were checked for repeated vertices. Since we can't know how many verts will be repeated, we cannot allocate the correct size for the verts and indices array.

The need for the memcpy can be removed if TrianglesCommand::Triangles used std::vector for the verts and indices.

@ricardoquesada
Copy link
Owner

thanks

@stammen stammen deleted the issue_15154-fix branch May 25, 2016 19:01
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.

2 participants