From f6dd9b3ad69fc6873b098a444885c45d1164fa64 Mon Sep 17 00:00:00 2001 From: ChenX Date: Fri, 11 Jun 2021 11:17:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E7=9B=B4=E5=BE=84=E6=A0=87?= =?UTF-8?q?=E6=B3=A8=E5=8F=8C=E5=87=BB=E8=BF=87=E5=90=8E,=E5=9C=A8?= =?UTF-8?q?=E8=A7=86=E5=8F=A3=E9=82=A3=E8=BE=B9=E4=BC=9A=E5=8F=98=E6=B6=88?= =?UTF-8?q?=E5=A4=B1=E4=B8=8D=E8=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DatabaseServices/Dimension/DiameterDimension.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/DatabaseServices/Dimension/DiameterDimension.ts b/src/DatabaseServices/Dimension/DiameterDimension.ts index e0b16a4a3..b2744eee8 100644 --- a/src/DatabaseServices/Dimension/DiameterDimension.ts +++ b/src/DatabaseServices/Dimension/DiameterDimension.ts @@ -90,6 +90,9 @@ export class DiameterDimension extends RadiusDimension UpdateDrawObjectMaterial(renderType: RenderType, obj: Object3D, material?: Material) { + if (renderType === RenderType.WireframePrint) + return; + let [line, arrow, arrow2, textObj] = obj.children as [TLine, Mesh, Mesh, Object3D]; let lineMaterial = GetDimLineMaterial(this, renderType);