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

Fix GoostGeometry2D and PolyDecomp2D crashes with invalid data #107

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

Xrayez
Copy link
Contributor

@Xrayez Xrayez commented Jul 19, 2021

  • Fixes out of memory error when calling GoostGeometry2D.simplify_polyline() with epsilon = 0
  • Fixes crashes while decomposing empty polygons with PolyDecomp2D when using polypartition geometry backend

Part of #105.

- Fixes out of memory error when calling `GoostGeometry2D.simplify_polyline()` with `epsilon = 0`
- Fixes crashes while decomposing empty polygons with `PolyDecomp2D` when using `polypartition` geometry backend
@Xrayez Xrayez added bug Something isn't working crash Engine crashes component:geometry 📐 labels Jul 19, 2021
@Xrayez Xrayez added this to the 1.1-gd3 milestone Jul 19, 2021
@Xrayez Xrayez merged commit 52ebb33 into gd3 Jul 19, 2021
@Xrayez Xrayez deleted the fix-geometry-crashes branch July 19, 2021 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:geometry 📐 crash Engine crashes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant