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

validate point type is tuple in vectorio Polygon #7947

Merged
merged 1 commit into from
May 9, 2023

Conversation

FoamyGuy
Copy link
Collaborator

@FoamyGuy FoamyGuy commented May 8, 2023

Attempt to resolve #7945

Added validation inside of Polygon creation to ensure the values inside the points list are tuples before attempting to get values out of them.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you!

@tannewt tannewt merged commit f8cbdf8 into adafruit:main May 9, 2023
322 checks passed
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.

Defining only the x coordinate in a Vectorio Polygon with a float number crash CircuitPython
2 participants