From 9f02c5b6cb4d276af62e66bc301880a0a0781d7d Mon Sep 17 00:00:00 2001 From: bakedpotatolord Date: Fri, 11 Jul 2025 21:04:32 -0600 Subject: [PATCH] undo surface prep indexing --- src/kiri/mode/cam/cl-helical.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kiri/mode/cam/cl-helical.js b/src/kiri/mode/cam/cl-helical.js index f94183b1..2c6084b9 100644 --- a/src/kiri/mode/cam/cl-helical.js +++ b/src/kiri/mode/cam/cl-helical.js @@ -15,7 +15,7 @@ export function selectHelical() { alert = api.show.alert("analyzing surfaces...", 1000); let cylinders = env.poppedRec.cylinders; - CAM.surface_prep(true, () => { + CAM.surface_prep(false, () => { api.hide.alert(alert); alert = api.show.alert("[esc] cancels surface selection"); for (let [wid, arr] of Object.entries(cylinders)) { @@ -38,6 +38,7 @@ export function selectHelical() { CAM.cylinderToggle(widget, faceid, ({ faces, error }) => { if (error) { api.show.alert(error, 3000); + console.log( error ); return; } cylinders[widget.id] = faces;