pcbnew: updated connectivity algorithm to support JP's no-outline zones
This commit is contained in:
parent
0571ff6ce2
commit
51b9319246
|
@ -355,7 +355,8 @@ public:
|
|||
bool ContainsPoint( const VECTOR2I p ) const
|
||||
{
|
||||
auto zone = static_cast<ZONE_CONTAINER*> ( Parent() );
|
||||
return m_cachedPoly->ContainsPoint( p, zone->GetMinThickness() );
|
||||
int clearance = zone->GetFilledPolysUseThickness() ? zone->GetMinThickness() : 0;
|
||||
return m_cachedPoly->ContainsPoint( p, clearance );
|
||||
}
|
||||
|
||||
const BOX2I& BBox()
|
||||
|
|
Loading…
Reference in New Issue