fix slice progress for topo
This commit is contained in:
parent
4496f1dc78
commit
f10024c28d
1 changed files with 5 additions and 1 deletions
|
|
@ -265,10 +265,14 @@ export async function cam_slice(settings, widget, onupdate, ondone) {
|
|||
|
||||
// silently preface op list with OpShadow
|
||||
if (isIndexed) {
|
||||
if (activeOps.length === 0 || activeOps[0].type !== 'index')
|
||||
if (activeOps.length === 0 || activeOps[0].type !== 'index') {
|
||||
opList.push(new OPS.index(state, { type: "index", index: 0 }));
|
||||
opTot++;
|
||||
|
||||
}
|
||||
} else {
|
||||
opList.push(new OPS.shadow(state, { type: "shadow", silent: true }));
|
||||
opTot++;
|
||||
}
|
||||
|
||||
// determing # of steps and step weighting for progress bar
|
||||
|
|
|
|||
Loading…
Reference in a new issue