Ignore VVIAs when assembling length-tuning line.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15995
This commit is contained in:
parent
42d9bc4a98
commit
b5d904b45d
|
@ -681,7 +681,7 @@ static std::optional<PNS::LINE> getPNSLine( const VECTOR2I& aStart, const VECTOR
|
|||
if( !startItem || !endItem )
|
||||
return std::nullopt;
|
||||
|
||||
PNS::LINE line = world->AssembleLine( startItem );
|
||||
PNS::LINE line = world->AssembleLine( startItem, nullptr, false, true );
|
||||
SHAPE_LINE_CHAIN oldChain = line.CLine();
|
||||
|
||||
wxCHECK( line.ContainsLink( endItem ), std::nullopt );
|
||||
|
|
Loading…
Reference in New Issue