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

Prevent eye window crash from ellipse2Poly issues #2008

Merged
merged 1 commit into from
Sep 8, 2020
Merged

Conversation

pfaion
Copy link
Contributor

@pfaion pfaion commented Sep 8, 2020

TLDR: the missing return would cause a crash later on.

There was a new error type that could happen here, so I extended the logging and comments as well. Additionally, the previous error handling was not correct, as we would still crash when running the code below without pts being computed.

There was a new error type which could happen here, so I extended to
logging. Additionally the previous error handling was not correct, as we
would still crash when running the code below without `pts` being
computed.
@pfaion pfaion requested a review from papr September 8, 2020 09:24
@papr papr merged commit 008d906 into develop Sep 8, 2020
@papr papr deleted the fix-cv-eye-crash branch September 8, 2020 09:35
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