From 893f813a4818ee5150e8c6654f7da5f3268bf759 Mon Sep 17 00:00:00 2001 From: ChenX Date: Tue, 14 Nov 2023 15:55:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=E9=81=BF=E5=85=8D=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E5=88=80=E8=B7=AF=E5=BB=BA=E6=A8=A1=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DatabaseServices/Entity/Board.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DatabaseServices/Entity/Board.ts b/src/DatabaseServices/Entity/Board.ts index 4580fff66..2a6dce52d 100644 --- a/src/DatabaseServices/Entity/Board.ts +++ b/src/DatabaseServices/Entity/Board.ts @@ -1629,7 +1629,7 @@ export class Board extends ExtrudeSolid then: (e) => { let data = e.data as { status: number, geom: Geom3; }; - if (data.status) + if (data.status || !data.geom.polygons) { this._AsyncIngTextEntity.TextString = "二维刀路建模失败"; Log(`板:${this.Name}二维刀路建模失败!`, LogType.Error, [this]);