Fix footprint hittesting. (How in the world did that compile?)
This commit is contained in:
parent
c7a71b44e5
commit
c716313a24
|
@ -919,7 +919,7 @@ bool FOOTPRINT::HitTest( const EDA_RECT& aRect, bool aContained, int aAccuracy )
|
|||
arect.Inflate( aAccuracy );
|
||||
|
||||
if( aContained )
|
||||
return arect.Contains( false, false );
|
||||
return arect.Contains( GetBoundingBox( false, false ) );
|
||||
else
|
||||
{
|
||||
// If the rect does not intersect the bounding box, skip any tests
|
||||
|
|
Loading…
Reference in New Issue