This commit is contained in:
zh
2025-09-23 10:49:52 +08:00
parent ea7e0dad7a
commit d515e4b3d0

View File

@ -1222,6 +1222,19 @@ class PolyhedronObject extends Base {
}
}
closeNodeEdit() {
YJ.Measure.SetMeasureStatus(false)
this.event && this.event.destroy()
this.tip && this.tip.destroy()
this.tip = null
for (let i = 0; i < this.nodePoints.length; i++) {
this.sdk.viewer.entities.remove(this.nodePoints[i])
}
this.nodePoints = []
this.picking = true
}
setDIV(options = { domid: "", x: 10, y: 10 }) {
options.x = (options.x || options.x === 0) ? options.x : 10
options.y = (options.y || options.y === 0) ? options.y : 10