fix area op exit with empty z list
This commit is contained in:
parent
77a18cb258
commit
9531fafd1d
2 changed files with 3 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ function checkSeed(then) {
|
|||
setTimeout(() => { api.space.save(true) },500);
|
||||
then();
|
||||
api.help.show();
|
||||
sdb[LAST] = version;
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -169,6 +169,8 @@ class OpArea extends CamOp {
|
|||
let zinc = 1 / zs.length;
|
||||
let lzo;
|
||||
|
||||
if (!zs.length) break;
|
||||
|
||||
outer: for (;;)
|
||||
for (let z of zs) {
|
||||
let slice = newLayer(z);
|
||||
|
|
|
|||
Loading…
Reference in a new issue