Fix Build error: AddLine doesn't exist anymore

This commit is contained in:
Roberto Fernandez Bautista 2022-09-02 11:17:28 +02:00
parent 22f96bfd11
commit c15a13963b
1 changed files with 4 additions and 4 deletions

View File

@ -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
{