From 3f7c56b4cc09bad6db692aef52ad8fd4bd44ced8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=B8=89?= <940119273@qq.com> Date: Mon, 25 Dec 2023 01:39:39 +0000 Subject: [PATCH] =?UTF-8?q?!2531=20=E4=BF=AE=E5=A4=8D:=E5=90=AB=E6=9C=89?= =?UTF-8?q?=E5=A4=8D=E5=90=88=E5=AE=9E=E4=BD=93=E7=94=BB=E9=97=A8=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts b/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts index 9f1c1a28a..fec5c4231 100644 --- a/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts +++ b/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts @@ -695,7 +695,7 @@ export class DrawDoorTool } else if (otherEnt instanceof HardwareCompositeEntity) //层板复合实体 铰链偏移 { - if (!isHinge && !isHandle) continue; + if (!(isHinge || isHandle)) continue; if (!IsBoxAndEntitysIntersect([otherEnt], [ironware], ZNormal, isDoor)) continue; if (isDoor)