fix multi-part drilling bug
This commit is contained in:
parent
9e8ed69091
commit
01fba55800
1 changed files with 1 additions and 1 deletions
|
|
@ -1266,7 +1266,7 @@ CAM.init = function(kiri, api) {
|
||||||
centers = centers ?? []
|
centers = centers ?? []
|
||||||
// list of all hole centers and if they are selected
|
// list of all hole centers and if they are selected
|
||||||
kiri.api.widgets.for(widget => {
|
kiri.api.widgets.for(widget => {
|
||||||
const {holes} = centers.find(center=>center.id = widget.id)
|
const {holes} = centers.find(center=>center.id == widget.id)
|
||||||
// console.log(holes)
|
// console.log(holes)
|
||||||
if (!holes.length) unselectHoles(holes);
|
if (!holes.length) unselectHoles(holes);
|
||||||
holes.forEach(hole => {
|
holes.forEach(hole => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue