|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|