From 7cb98f6856ab505ff8692f26be99fe13013c69d5 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 1 Dec 2023 09:31:48 -0800 Subject: [PATCH] Check for actual dirty flag Looking at the address will always return true --- pcbnew/pad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pad.cpp b/pcbnew/pad.cpp index 954f1cd5ed..a348090f5a 100644 --- a/pcbnew/pad.cpp +++ b/pcbnew/pad.cpp @@ -415,7 +415,7 @@ std::shared_ptr PAD::GetEffectiveHoleShape() const int PAD::GetBoundingRadius() const { - if( m_polyDirty ) + if( m_polyDirty[ERROR_OUTSIDE] ) BuildEffectivePolygon( ERROR_OUTSIDE ); return m_effectiveBoundingRadius;