Check for actual dirty flag
Looking at the address will always return true
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user