Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Revert flag in clipperlib that freezes the operation
Browse files Browse the repository at this point in the history
  • Loading branch information
heitzmann committed Aug 2, 2021
1 parent a13b0cc commit f481525
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ Help support Gdspy development by [donating via PayPal](https://www.paypal.com/c

## History of changes

### Version 1.6.8 (Unreleased)
* Fix in `boolean` for complex geometries that freeze the operation.

### Version 1.6.7 (Jul 14, 2021)
* Fixes in `boolean` for bugs with self-intersecting holes and holes horizontal edges.
* Fix bug in warning message.
Expand Down
4 changes: 2 additions & 2 deletions gdspy/clipper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4909,7 +4909,7 @@ static PyObject* clip(PyObject *self, PyObject *args)
Paths subj, clip, result;
PolyTree solution;
ClipType oper;
Clipper clpr(ioStrictlySimple);
Clipper clpr;

if (!PyArg_ParseTuple(args, "OOsd:clip", &polyA, &polyB, &operation, &scaling)) return NULL;

Expand Down Expand Up @@ -5144,7 +5144,7 @@ static PyObject* chop(PyObject *self, PyObject *args)
Paths subj(1);
Paths clip(1, Path(4));
PolyTree solution;
Clipper clpr(ioStrictlySimple);
Clipper clpr;
cInt bb[4];
cInt pos;
long num_cuts;
Expand Down
Binary file modified tests/test.gds
Binary file not shown.

0 comments on commit f481525

Please sign in to comment.