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:
parent
196368eb86
commit
cd36edd152
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user