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

[tx] start points with floating-value coordinates causes duplicate points when PFA -> UFO #1448

Merged
merged 8 commits into from
Dec 15, 2021

Conversation

kaydeearts
Copy link
Collaborator

Fix for error where when converting PFA -> UFO, contours with start points with floating-value coordinates were duplicated unnecessarily.

josh-hadley
josh-hadley previously approved these changes Dec 14, 2021
float precision = 0.015;
point1 = RND_ON_WRITE(point1);
point2 = RND_ON_WRITE(point2);
return fabs(point1 - point2) <= precision;
Copy link
Collaborator

Choose a reason for hiding this comment

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

🎉

@kaydeearts kaydeearts merged commit 753e655 into develop Dec 15, 2021
@kaydeearts kaydeearts deleted the kd-tx-duplicate-error branch December 15, 2021 19:02
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