modify retraction. use outer offsets for bisection

This commit is contained in:
Stewart Allen 2017-11-03 15:22:43 -04:00
commit e800e65d30
2 changed files with 18 additions and 6 deletions

View file

@ -497,7 +497,7 @@ var gs_kiri_print = exports;
}
} else {
// top object
var bounds = POLY.flatten(next.inner);
var bounds = POLY.flatten(next.outer);
outputTraces([].appendAll(next.traces).appendAll(next.innerTraces() || []), bounds);
outputFills(next.fill_lines, bounds);
outputSparse(next.fill_sparse, bounds);