diff --git a/pcbnew/router/pns_line.cpp b/pcbnew/router/pns_line.cpp index cdf2968948..c7304205e6 100644 --- a/pcbnew/router/pns_line.cpp +++ b/pcbnew/router/pns_line.cpp @@ -941,4 +941,12 @@ bool LINE::HasLockedSegments() const return false; } +void LINE::Clear() +{ + m_hasVia = false; + m_line.Clear(); } + + +} + diff --git a/pcbnew/router/pns_line.h b/pcbnew/router/pns_line.h index 63f7d189f7..73ee420880 100644 --- a/pcbnew/router/pns_line.h +++ b/pcbnew/router/pns_line.h @@ -293,6 +293,9 @@ public: bool HasLoops() const; bool HasLockedSegments() const; + void Clear(); + void Merge ( const LINE& aOther ); + OPT_BOX2I ChangedArea( const LINE* aOther ) const; void SetSnapThreshhold( int aThreshhold )