Ratsnest lines are drawn using a more transparent color.

BOARD::chainMarkedSegments() uses a safer method for gettings pads.
This commit is contained in:
Maciej Suminski 2014-01-29 14:51:50 +01:00
parent bec24b6c7f
commit b52e5fabda
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ void BOARD::chainMarkedSegments( wxPoint aPosition, LAYER_MSK aLayerMask, TRACK_
*/ */
for( ; ; ) for( ; ; )
{ {
if( GetPadFast( aPosition, aLayerMask ) != NULL ) if( GetPad( aPosition, aLayerMask ) != NULL )
return; return;
/* Test for a via: a via changes the layer mask and can connect a lot /* Test for a via: a via changes the layer mask and can connect a lot

View File

@ -57,7 +57,7 @@ void RATSNEST_VIEWITEM::ViewDraw( int aLayer, GAL* aGal ) const
aGal->SetIsStroke( true ); aGal->SetIsStroke( true );
aGal->SetIsFill( false ); aGal->SetIsFill( false );
aGal->SetLineWidth( 1.0 ); aGal->SetLineWidth( 1.0 );
aGal->SetStrokeColor( COLOR4D( 1.0, 1.0, 1.0, 0.4 ) ); aGal->SetStrokeColor( COLOR4D( 0.8, 0.8, 0.8, 0.2 ) );
// Draw the temporary ratsnest // Draw the temporary ratsnest
BOOST_FOREACH( const RN_NET& net, m_data->GetNets() ) BOOST_FOREACH( const RN_NET& net, m_data->GetNets() )