Ignore VVIAs when assembling length-tuning line.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15995
This commit is contained in:
Jeff Young 2023-10-30 19:55:34 +00:00
parent 42d9bc4a98
commit b5d904b45d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );