pcbnew: updated connectivity algorithm to support JP's no-outline zones

This commit is contained in:
Tomasz Włostowski 2019-06-12 16:33:48 +02:00
parent 0571ff6ce2
commit 51b9319246
1 changed files with 2 additions and 1 deletions

View File

@ -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()