Make all debugging statments use netcode (instead of some using netname).

This commit is contained in:
Jeff Young 2023-08-31 14:28:39 +01:00
parent 05135eed66
commit 9a045af81f
1 changed files with 3 additions and 3 deletions

View File

@ -425,9 +425,9 @@ SHOVE::SHOVE_STATUS SHOVE::ShoveObstacleLine( const LINE& aCurLine, const LINE&
hulls.reserve( currentLineSegmentCount + 1 ); hulls.reserve( currentLineSegmentCount + 1 );
PNS_DBG( Dbg(), Message, wxString::Format( wxT( "shove process-single: cur net %s obs %s cl %d" ), PNS_DBG( Dbg(), Message, wxString::Format( wxT( "shove process-single: cur net %d obs %d cl %d" ),
m_router->GetInterface()->GetNetName( aCurLine.Net() ), m_router->GetInterface()->GetNetCode( aCurLine.Net() ),
m_router->GetInterface()->GetNetName( aObstacleLine.Net() ), m_router->GetInterface()->GetNetCode( aObstacleLine.Net() ),
clearance ) ); clearance ) );
for( int i = 0; i < currentLineSegmentCount; i++ ) for( int i = 0; i < currentLineSegmentCount; i++ )