handle null path return for area surface

This commit is contained in:
Stewart Allen 2026-01-07 22:32:44 -05:00
commit edff2228f7

View file

@ -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