From b78a2bbe738658aea4ce363d2e06a90d32392887 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 23 Mar 2020 14:48:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E6=8B=89=E6=A7=BD=E6=97=B6?= =?UTF-8?q?=E7=B2=BE=E5=BA=A6=E8=A6=81=E6=B1=82=E5=A4=AA=E9=AB=98=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E6=A7=BD=E7=94=9F=E6=88=90=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DatabaseServices/Entity/Extrude.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DatabaseServices/Entity/Extrude.ts b/src/DatabaseServices/Entity/Extrude.ts index 0ba371850..d3d7886bb 100644 --- a/src/DatabaseServices/Entity/Extrude.ts +++ b/src/DatabaseServices/Entity/Extrude.ts @@ -838,7 +838,7 @@ export class ExtrudeSolid extends Entity if (isParallelTo(n1, n2)) { target = target.Clone().ClearDraw(); - if (!equalv3(n1, n2)) + if (!equalv3(n1, n2, 1e-6)) { let mtx = target._Matrix; matrixSetVector(mtx, 2, n1);