From ba65e6b122034efb1a2928e5e5b62fd1779b08e3 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 16 Aug 2021 10:12:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=E9=81=BF=E5=85=8D=E5=B9=B2?= =?UTF-8?q?=E6=B6=89=E6=A3=80=E6=9F=A5=E5=B4=A9=E6=BA=83(=E5=8E=9F?= =?UTF-8?q?=E5=9B=A0=E6=98=AF=E5=9B=A0=E4=B8=BA=E8=BF=9B=E8=A1=8C=E5=B0=9D?= =?UTF-8?q?=E8=AF=95=E5=88=87=E5=89=B2=E6=97=B6,=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=B8=85=E9=99=A4=E7=BB=98=E5=88=B6,=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E7=9A=84=E5=AE=9E=E4=BD=93=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BA=86=E7=BB=98=E5=88=B6=E5=AE=9E=E4=BD=93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/InterfereUtil.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Common/InterfereUtil.ts b/src/Common/InterfereUtil.ts index 033908dbe..caecab564 100644 --- a/src/Common/InterfereUtil.ts +++ b/src/Common/InterfereUtil.ts @@ -146,6 +146,9 @@ export class CheckInterfereTool let [b1, b2] = [t1 === 1 ? e1.Clone() : (e1).Convert2ExtrudeSolid(), t2 === 1 ? e2.Clone() : (e2).Convert2ExtrudeSolid()]; + b1.ClearDraw(); + b2.ClearDraw(); + if (!b1.Subtract([b2], []) && !b1.IsErase && !b2.Subtract([b1], []) && !b2.IsErase) continue;