Browse Source

SCH_EDIT_FRAME::FixupJunctions(): avoid flagging schematics as modified, when no junction is added.

pull/15/head
jean-pierre charras 6 years ago
parent
commit
31c254d8c1
  1. 4
      eeschema/sch_edit_frame.cpp

4
eeschema/sch_edit_frame.cpp

@ -1175,7 +1175,9 @@ void SCH_EDIT_FRAME::FixupJunctions()
for( auto pin : cmp->GetPins() )
{
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 );
}

Loading…
Cancel
Save