Check for actual dirty flag
Looking at the address will always return true
This commit is contained in:
parent
fc86de34f8
commit
7cb98f6856
|
@ -415,7 +415,7 @@ std::shared_ptr<SHAPE_SEGMENT> PAD::GetEffectiveHoleShape() const
|
||||||
|
|
||||||
int PAD::GetBoundingRadius() const
|
int PAD::GetBoundingRadius() const
|
||||||
{
|
{
|
||||||
if( m_polyDirty )
|
if( m_polyDirty[ERROR_OUTSIDE] )
|
||||||
BuildEffectivePolygon( ERROR_OUTSIDE );
|
BuildEffectivePolygon( ERROR_OUTSIDE );
|
||||||
|
|
||||||
return m_effectiveBoundingRadius;
|
return m_effectiveBoundingRadius;
|
||||||
|
|
Loading…
Reference in New Issue