We don't want to do collision testing against virtual vias.

(Which means they had better not have a hole.)
This commit is contained in:
Jeff Young 2023-10-22 17:54:28 +01:00
parent ad676e22b8
commit f1efae1e05
1 changed files with 2 additions and 1 deletions

View File

@ -221,8 +221,9 @@ public:
VIA( aPos, LAYER_RANGE( aLayer, aLayer ), aDiameter, aDiameter / 2, aNet ) VIA( aPos, LAYER_RANGE( aLayer, aLayer ), aDiameter, aDiameter / 2, aNet )
{ {
m_isVirtual = true; m_isVirtual = true;
//SetHole( SHAPE_CIRCLE( Pos(), 1 ) );
} }
bool HasHole() const override { return false; }
}; };
} }