From 6547d07d14a57860c31b302e9a2c4b9f0af166c3 Mon Sep 17 00:00:00 2001 From: ChenX Date: Fri, 21 Jul 2023 14:58:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:DrawWall=E5=9C=A8=E5=9C=86?= =?UTF-8?q?=E5=BC=A7=E5=A2=99=E4=BD=BF=E7=94=A8=E8=B7=9D=E7=A6=BB=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=97=B6=E7=BB=98=E5=88=B6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/Room/DrawWall.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Add-on/Room/DrawWall.ts b/src/Add-on/Room/DrawWall.ts index b3af3ec3d..da81f9f81 100644 --- a/src/Add-on/Room/DrawWall.ts +++ b/src/Add-on/Room/DrawWall.ts @@ -176,7 +176,6 @@ export class Command_DrawWall implements Command { app.Database.hm.StartMark(); let curP = ptRes.Point; - this._DrawPts.push(curP); if (jigWall) { UpdateWallEndPoint(jigWall, curP); @@ -205,6 +204,7 @@ export class Command_DrawWall implements Command jigWall = undefined; JigUtils.End(); } + this._DrawPts.push(curP); this._UndoPts.length = 0; } else if (ptRes.Status === PromptStatus.Keyword)