Skip to content

Geometry2D: Remove arc_tolerance scaling and the comment related to that.#115293

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
mooflu:arc-113263
Jan 24, 2026
Merged

Geometry2D: Remove arc_tolerance scaling and the comment related to that.#115293
akien-mga merged 1 commit intogodotengine:masterfrom
mooflu:arc-113263

Conversation

@mooflu
Copy link
Contributor

@mooflu mooflu commented Jan 23, 2026

Fixes #113263

This broke with the upgrade to clipper2 1.5.3 which does the arc_tolerance scaling internally.

See commit

clipper2 1.5.3 does the scaling internally.
@mooflu mooflu requested a review from a team as a code owner January 23, 2026 05:05
@AThousandShips AThousandShips changed the title Remove arc_tolerance scaling and the comment related to that. Geometry2D: Remove arc_tolerance scaling and the comment related to that. Jan 23, 2026
@AThousandShips AThousandShips added this to the 4.x milestone Jan 23, 2026
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

This was indeed changed in AngusJohnson/Clipper2@ca6e8fd.

Sadly they don't give a changelog nor pointed it out as a breaking change :|

So this fixes a regression 4.5+.

@akien-mga akien-mga added regression cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release labels Jan 23, 2026
@akien-mga akien-mga modified the milestones: 4.x, 4.7 Jan 23, 2026
@akien-mga akien-mga removed the cherrypick:4.6 Considered for cherry-picking into a future 4.6.x release label Jan 24, 2026
@akien-mga akien-mga merged commit 0424946 into godotengine:master Jan 24, 2026
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga modified the milestones: 4.7, 4.6 Jan 25, 2026
@akien-mga
Copy link
Member

Cherry-picked for 4.5.2.

@akien-mga akien-mga removed the cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release label Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Geometry2D.offset_polyline never rounds ends with END_ROUND

3 participants