Fix Build error: AddLine doesn't exist anymore
This commit is contained in:
parent
22f96bfd11
commit
c15a13963b
|
@ -1008,7 +1008,7 @@ void LINE_PLACER::routeStep( const VECTOR2I& aP )
|
|||
if( m_last_head.PointCount() > 0 )
|
||||
{
|
||||
m_head = m_last_head;
|
||||
PNS_DBG( Dbg(), AddLine, m_head.CLine(), GREEN, 100000, "head-before-re-route" );
|
||||
PNS_DBG( Dbg(), AddItem, &m_head, GREEN, 100000, "head-before-re-route" );
|
||||
|
||||
VECTOR2I lastValidRoutePoint = m_head.CPoint( m_head.PointCount() - 1 );
|
||||
|
||||
|
@ -1016,7 +1016,7 @@ void LINE_PLACER::routeStep( const VECTOR2I& aP )
|
|||
if( !routeHead( lastValidRoutePoint, m_head ) )
|
||||
PNS_DBG( Dbg(), Message, "****Unable to recover.***** Route head failed, second time" );
|
||||
|
||||
PNS_DBG( Dbg(), AddLine, m_head.CLine(), GREEN, 100000, "head-after-re-route" );
|
||||
PNS_DBG( Dbg(), AddItem, &m_head, GREEN, 100000, "head-after-re-route" );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue