修正直线起点错误的问题

pull/173/MERGE
ChenX 6 years ago
parent 827190af2a
commit 9090e43e46

@ -37,9 +37,10 @@ export class DrawLine implements Command
let drawLines: Line[] = []; let drawLines: Line[] = [];
while (true) while (true)
{ {
let line = new Line(ptLast); let line = new Line();
let ucsMatrix = app.m_Editor.UCSMatrix; let ucsMatrix = app.m_Editor.UCSMatrix;
line.ApplyMatrix(ucsMatrix); line.ApplyMatrix(ucsMatrix);
line.StartPoint = ptLast;
let isFirstAndTan = (isTan && drawLines.length === 0 && cir); let isFirstAndTan = (isTan && drawLines.length === 0 && cir);
if (isFirstAndTan) if (isFirstAndTan)

Loading…
Cancel
Save