From d515e4b3d037a6791af1a263c5095d06f4df15d3 Mon Sep 17 00:00:00 2001 From: zh <972939975@qq.com> Date: Tue, 23 Sep 2025 10:49:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Obj/Base/PolyhedronObject/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Obj/Base/PolyhedronObject/index.js b/src/Obj/Base/PolyhedronObject/index.js index 80aaa83..41a5094 100644 --- a/src/Obj/Base/PolyhedronObject/index.js +++ b/src/Obj/Base/PolyhedronObject/index.js @@ -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