From d59643c4e55eff7588b6bc6d13b93baa0e2e2aa8 Mon Sep 17 00:00:00 2001 From: ChenX Date: Wed, 6 Dec 2017 11:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E7=BB=98=E5=88=B6=E5=9C=86=E5=BC=A7?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A9=A1=E7=9A=AE=E7=AD=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/DrawLine.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Add-on/DrawLine.ts b/src/Add-on/DrawLine.ts index 6eb8ebcb1..faeb732e3 100644 --- a/src/Add-on/DrawLine.ts +++ b/src/Add-on/DrawLine.ts @@ -186,10 +186,12 @@ export class DrawCircle implements Command app.m_Database.appendEntity(cir); ptRes = await app.m_Editor.GetPoint( { + BasePoint: ptRes.Value, Callback: (p) => { cir.Radius = p.distanceTo(cir.m_Center); - } + }, + AllowDrawRubberBand: true } ); }