fix empty slice bug with wipes
This commit is contained in:
parent
98a34c9826
commit
956e192b6e
1 changed files with 2 additions and 0 deletions
|
|
@ -372,6 +372,8 @@ var gs_kiri_print = exports;
|
||||||
z = slice.z;
|
z = slice.z;
|
||||||
|
|
||||||
function outputWipe(poly) {
|
function outputWipe(poly) {
|
||||||
|
if (!poly) return;
|
||||||
|
|
||||||
var closest = poly.findClosestPointTo(startPoint),
|
var closest = poly.findClosestPointTo(startPoint),
|
||||||
distance = wipeDistance,
|
distance = wipeDistance,
|
||||||
last = startPoint;
|
last = startPoint;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue