Loading pcbnew/class_board.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1878,10 +1878,10 @@ TRACK* BOARD::MarkTrace( TRACK* aTrace, int* aCount, } } if( aTraceLength ) if( aTraceLength ) *aTraceLength = KiROUND( full_len ); *aTraceLength = full_len; if( aPadToDieLength ) if( aPadToDieLength ) *aPadToDieLength = KiROUND( lenPadToDie ); *aPadToDieLength = lenPadToDie; if( aCount ) if( aCount ) *aCount = NbSegmBusy; *aCount = NbSegmBusy; Loading pcbnew/class_track.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1002,7 +1002,7 @@ void TRACK::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) double trackLen = 0; double trackLen = 0; double lenPadToDie = 0; double lenPadToDie = 0; board->MarkTrace( this, NULL, &trackLen, &lenPadToDie, false ); board->MarkTrace( this, NULL, &trackLen, &lenPadToDie, false ); msg = ::CoordinateToString( trackLen ); msg = ::LengthDoubleToString( trackLen ); aList.push_back( MSG_PANEL_ITEM( _( "Track Len" ), msg, DARKCYAN ) ); aList.push_back( MSG_PANEL_ITEM( _( "Track Len" ), msg, DARKCYAN ) ); if( lenPadToDie != 0 ) if( lenPadToDie != 0 ) Loading Loading
pcbnew/class_board.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1878,10 +1878,10 @@ TRACK* BOARD::MarkTrace( TRACK* aTrace, int* aCount, } } if( aTraceLength ) if( aTraceLength ) *aTraceLength = KiROUND( full_len ); *aTraceLength = full_len; if( aPadToDieLength ) if( aPadToDieLength ) *aPadToDieLength = KiROUND( lenPadToDie ); *aPadToDieLength = lenPadToDie; if( aCount ) if( aCount ) *aCount = NbSegmBusy; *aCount = NbSegmBusy; Loading
pcbnew/class_track.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1002,7 +1002,7 @@ void TRACK::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) double trackLen = 0; double trackLen = 0; double lenPadToDie = 0; double lenPadToDie = 0; board->MarkTrace( this, NULL, &trackLen, &lenPadToDie, false ); board->MarkTrace( this, NULL, &trackLen, &lenPadToDie, false ); msg = ::CoordinateToString( trackLen ); msg = ::LengthDoubleToString( trackLen ); aList.push_back( MSG_PANEL_ITEM( _( "Track Len" ), msg, DARKCYAN ) ); aList.push_back( MSG_PANEL_ITEM( _( "Track Len" ), msg, DARKCYAN ) ); if( lenPadToDie != 0 ) if( lenPadToDie != 0 ) Loading