Ratsnest lines are drawn using a more transparent color.
BOARD::chainMarkedSegments() uses a safer method for gettings pads.
This commit is contained in:
parent
bec24b6c7f
commit
b52e5fabda
|
@ -206,7 +206,7 @@ void BOARD::chainMarkedSegments( wxPoint aPosition, LAYER_MSK aLayerMask, TRACK_
|
|||
*/
|
||||
for( ; ; )
|
||||
{
|
||||
if( GetPadFast( aPosition, aLayerMask ) != NULL )
|
||||
if( GetPad( aPosition, aLayerMask ) != NULL )
|
||||
return;
|
||||
|
||||
/* Test for a via: a via changes the layer mask and can connect a lot
|
||||
|
|
|
@ -57,7 +57,7 @@ void RATSNEST_VIEWITEM::ViewDraw( int aLayer, GAL* aGal ) const
|
|||
aGal->SetIsStroke( true );
|
||||
aGal->SetIsFill( false );
|
||||
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
|
||||
BOOST_FOREACH( const RN_NET& net, m_data->GetNets() )
|
||||
|
|
Loading…
Reference in New Issue