Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed Clipper library (our own fork of it) when working with Z coordinate #7180

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

Noisyfox
Copy link
Collaborator

The Eigen vector type compares all components, while the ClipperLib own IntPoint type compared x and y only.
Fixed by overriding the ==/!= operators to compare just x and y components for Eigen types.

Cherry-picked from prusa3d/PrusaSlicer@0202eec

This fixes #7160

Before:
image

After:
image

…nate:

The Eigen vector type compares all components, while the ClipperLib
own IntPoint type compared x and y only.
Fixed by overriding the ==/!= operators to compare just x and y components
for Eigen types.

Cherry-picked from prusa3d/PrusaSlicer@0202eec

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you

@SoftFever SoftFever merged commit be5bc63 into SoftFever:main Oct 24, 2024
15 checks passed
@Noisyfox Noisyfox deleted the bugfox/clipper-z branch October 24, 2024 15:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fuzzy Skin Modifiers attempting to connect to one another through model. (BUG 2.2.0-rc)
2 participants