7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-19 00:21:36 +00:00

PNS: Fix following of locked segments

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19186
This commit is contained in:
Jon Evans 2024-12-02 13:45:47 -05:00
parent 196368eb86
commit cd36edd152

View File

@ -258,6 +258,12 @@ public:
}
else if ( item->OfKind( ITEM::SOLID_T | ITEM::VIA_T ) )
{
if( item->Kind() == ITEM::VIA_T && item->IsVirtual() && aAllowLockedSegs )
{
// Virtual via will be added at the joint between an unlocked and locked seg
continue;
}
return nullptr;
}
}