From 60378db79de753fb91bd44647df628b77680fea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E5=A4=A7=E8=83=86?= <1101282782@qq.com> Date: Thu, 17 Jul 2025 17:53:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A3=9E=E7=BA=BF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Obj/Base/FlowLine/index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Obj/Base/FlowLine/index.js b/src/Obj/Base/FlowLine/index.js index 9e15936..2e82e73 100644 --- a/src/Obj/Base/FlowLine/index.js +++ b/src/Obj/Base/FlowLine/index.js @@ -215,6 +215,17 @@ class FlowLine extends Base { this.getLine(this, this.positions) } } + get show() { + return this.options.show + } + + set show(v) { + this.options.show = v + let entity = this.viewer.entities.getById(this.options.id) + if (entity) { + entity.show = v + } + } get heightDifference() { return this.options.heightDifference