pcbnew: Fix error in connecitivty calculation
Point in polygon should test against half the stroke width as the stroke
is performed _on_ the polygon edge.
(cherry picked from commit 820c2d2722
)
This commit is contained in:
parent
25f6483488
commit
b991beb712
|
@ -355,7 +355,7 @@ public:
|
|||
bool ContainsPoint( const VECTOR2I p ) const
|
||||
{
|
||||
auto zone = static_cast<ZONE_CONTAINER*> ( Parent() );
|
||||
return m_cachedPoly->ContainsPoint( p, zone->GetMinThickness() );
|
||||
return m_cachedPoly->ContainsPoint( p, zone->GetMinThickness() / 2 );
|
||||
}
|
||||
|
||||
const BOX2I& BBox()
|
||||
|
|
Loading…
Reference in New Issue