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

fix(face): Avoid removing the last vertex twice #317

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

chriswmackey
Copy link
Member

It seems that the remove_colinear_vertices method would remove the last vertex twice if those last two vertices were equivalent to one another. This is not necessarily what you want unless both of those last two vertices are colinear with the vertices surrounding it. This commit fixes this case.

It seems that the remove_colinear_vertices method would remove the last vertex twice if those last two vertices were equivalent to one another. This is not necessarily what you want unless both of those last two vertices are colinear with the vertices surrounding it. This commit fixes this case.
@chriswmackey chriswmackey added the bug Something isn't working label Sep 2, 2021
@chriswmackey chriswmackey self-assigned this Sep 2, 2021
@chriswmackey chriswmackey merged commit 7c5606b into ladybug-tools:master Sep 2, 2021
@github-actions
Copy link

github-actions bot commented Sep 2, 2021

🎉 This PR is included in version 1.23.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant