remove unwanted face toggling

This commit is contained in:
bakedpotatolord 2025-07-18 18:26:11 -06:00
commit 99ba02900c

View file

@ -23,7 +23,7 @@ export function selectHelical() {
if (widget && arr.length) if (widget && arr.length)
for (let faceid of arr) { for (let faceid of arr) {
CAM.cylinderToggle(widget, faceid, (faceids) => { CAM.cylinderToggle(widget, faceid, (faceids) => {
cylinders[widget.id] = faceids; // cylinders[widget.id] = faceids;
}); });
} }
} }
@ -41,6 +41,7 @@ export function selectHelical() {
console.log( error ); console.log( error );
return; return;
} }
console.log( faces );
cylinders[widget.id] = faces; cylinders[widget.id] = faces;
}); });
}; };
@ -63,5 +64,4 @@ export function helicalDone(){
api.feature.on_mouse_up = undefined; api.feature.on_mouse_up = undefined;
helicalOn.classList.remove("editing"); helicalOn.classList.remove("editing");
helicalOn = false; helicalOn = false;
console.log("helicalOn set to false");
}; };