开发:修复绘制切线错误

pull/2874/head
ChenX 3 months ago
parent 2351051137
commit 28d28bda9c

@ -143,7 +143,7 @@ export class DrawLine implements Command
if (ptRes.Status === PromptStatus.OK) if (ptRes.Status === PromptStatus.OK)
{ {
//第一个是切点 第二个也是选切点 //第一个是切点 第二个也是选切点
if (ptRes.SnapMode === ObjectSnapMode.Tan && firstTangeCircle && pts.length === 1) if (ptRes.SnapMode === ObjectSnapMode.Tan && firstSnapModeIsTan && firstTangeCircle && pts.length === 1)
{ {
if (!ptRes.SnapEntity) if (!ptRes.SnapEntity)
{ {

Loading…
Cancel
Save