fix openok with open polys when bridging also enabled

This commit is contained in:
Stewart Allen 2021-01-29 14:01:14 -05:00
commit adbb3bb87e

View file

@ -722,7 +722,11 @@
}
} else {
// no more closest polys (open set)
emit(BASE.newPolygon().addPoints(array));
if (opt.openok) {
emit(BASE.newPolygon().addPoints(array).setOpen());
} else {
emit(BASE.newPolygon().addPoints(array));
}
break loop;
}
}