remove unwanted face toggling
This commit is contained in:
parent
ef8a06b81e
commit
99ba02900c
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue