remove console log and fix undefined ref error
This commit is contained in:
parent
99ba02900c
commit
702d14a176
1 changed files with 1 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ export function selectHelical() {
|
|||
alert = api.show.alert("[esc] cancels surface selection");
|
||||
for (let [wid, arr] of Object.entries(cylinders)) {
|
||||
let widget = api.widgets.forid(wid);
|
||||
if (widget && arr.length)
|
||||
if (widget && arr?.length)
|
||||
for (let faceid of arr) {
|
||||
CAM.cylinderToggle(widget, faceid, (faceids) => {
|
||||
// cylinders[widget.id] = faceids;
|
||||
|
|
@ -41,7 +41,6 @@ export function selectHelical() {
|
|||
console.log( error );
|
||||
return;
|
||||
}
|
||||
console.log( faces );
|
||||
cylinders[widget.id] = faces;
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue