SCH_EDIT_FRAME::FixupJunctions(): avoid flagging schematics as modified, when no junction is added.
This commit is contained in:
parent
1cc05f19b5
commit
31c254d8c1
|
@ -1175,7 +1175,9 @@ void SCH_EDIT_FRAME::FixupJunctions()
|
||||||
for( auto pin : cmp->GetPins() )
|
for( auto pin : cmp->GetPins() )
|
||||||
{
|
{
|
||||||
auto pos = cmp->GetPosition() + xform.TransformCoordinate( pin.GetPosition() );
|
auto pos = cmp->GetPosition() + xform.TransformCoordinate( pin.GetPosition() );
|
||||||
if ( screen->IsJunctionNeeded( pos ) )
|
|
||||||
|
// Test if a _new_ junction is needed, and add it if missing
|
||||||
|
if ( screen->IsJunctionNeeded( pos, true ) )
|
||||||
{
|
{
|
||||||
AddJunction( pos );
|
AddJunction( pos );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue