Check for actual dirty flag

Looking at the address will always return true
This commit is contained in:
Seth Hillbrand 2023-12-01 09:31:48 -08:00
parent fc86de34f8
commit 7cb98f6856
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ std::shared_ptr<SHAPE_SEGMENT> PAD::GetEffectiveHoleShape() const
int PAD::GetBoundingRadius() const
{
if( m_polyDirty )
if( m_polyDirty[ERROR_OUTSIDE] )
BuildEffectivePolygon( ERROR_OUTSIDE );
return m_effectiveBoundingRadius;