diff --git a/src/kiri/mode/cam/slice.js b/src/kiri/mode/cam/slice.js index c23b1786..6abf19f5 100644 --- a/src/kiri/mode/cam/slice.js +++ b/src/kiri/mode/cam/slice.js @@ -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