修正一个轮廓为多段线时,当多段线闭合标志为空时,拉伸板件夹点导致的轮廓丢失.

pull/164/head
ChenX 6 years ago
parent d36dd489ac
commit a5cd7b2c62

@ -17,6 +17,9 @@ export class Contour
let closeCurve = Contour.Combine(cus) as Polyline | Circle;
if (closeCurve && closeCurve.IsClose)
{
if (closeCurve instanceof Polyline)
closeCurve.CloseMark = true;
let c = new Contour();
c.m_Curve = closeCurve;
return c;

Loading…
Cancel
Save