Skip to content

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
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.

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