From 50e4e5850d0bd421085317265095cf8f1ea3e73b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=B8=89?= <940119273@qq.com> Date: Fri, 21 Oct 2022 05:43:51 +0000 Subject: [PATCH] =?UTF-8?q?!2015=20=E4=BF=AE=E5=A4=8D:=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=93=B0=E9=93=BE=E4=B8=8E=E9=97=A8=E6=9D=BF=E7=A2=B0=E6=92=9E?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E8=AF=AF=E5=B7=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts b/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts index 00a7293ee..99c9f5b0c 100644 --- a/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts +++ b/src/Add-on/DrawBoard/DrawDoorDrawer/DrawDoorTool.ts @@ -962,9 +962,9 @@ export function IsBoxAndEntitysIntersect(enBox: Box3, checkEnts: Entity[], paren } else { - let box = checkEnt.BoundingBox as Box3Ext; + let box = checkEnt.BoundingBox; if (parentOCS) box.applyMatrix4(parentOCS); - if (box.intersectsBox(enBox, 10)) + if (box.intersectsBox(enBox)) return true; } }