handle null path return for area surface
This commit is contained in:
parent
6e09b9125e
commit
edff2228f7
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ class OpArea extends CamOp {
|
|||
paths.forEach(path => path.reverse());
|
||||
}
|
||||
// optional alternating paths
|
||||
if (sr_alter) {
|
||||
if (paths.length && sr_alter) {
|
||||
paths = tip2tipJoin(paths, paths[0].first(), toolOver * 10);
|
||||
}
|
||||
} else
|
||||
|
|
|
|||
Loading…
Reference in a new issue