From f1efae1e05145398dc9943b03a3c5635545f3b7c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 22 Oct 2023 17:54:28 +0100 Subject: [PATCH] We don't want to do collision testing against virtual vias. (Which means they had better not have a hole.) --- pcbnew/router/pns_via.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/router/pns_via.h b/pcbnew/router/pns_via.h index 0ce80bfbce..8d37975735 100644 --- a/pcbnew/router/pns_via.h +++ b/pcbnew/router/pns_via.h @@ -221,8 +221,9 @@ public: VIA( aPos, LAYER_RANGE( aLayer, aLayer ), aDiameter, aDiameter / 2, aNet ) { m_isVirtual = true; - //SetHole( SHAPE_CIRCLE( Pos(), 1 ) ); } + + bool HasHole() const override { return false; } }; }