mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
No connections AND no-net is not an error
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19737
This commit is contained in:
parent
c28039556d
commit
1ff0dfb052
@ -857,6 +857,10 @@ bool CONNECTIVITY_DATA::TestTrackEndpointDangling( PCB_TRACK* aTrack, bool aIgno
|
||||
|
||||
if( connected.empty() )
|
||||
{
|
||||
// No connections AND no-net is not an error
|
||||
if( aTrack->GetNetCode() <= 0 )
|
||||
return false;
|
||||
|
||||
if( aPos )
|
||||
*aPos = aTrack->GetPosition();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user