Pcbnew: prevent reversal of pad loading order when loading board.

When opening a board file and storing it again, the pads in all
embedded modules get reversed.  This is generally not really nice
if the PCB is managed by version control as it creates churn and
could make merges hard.
This commit is contained in:
Henner Zeller 2016-10-17 10:07:29 -04:00 committed by Wayne Stambaugh
parent 64bb1ca924
commit cd49ff0120
1 changed files with 1 additions and 1 deletions

View File

@ -1962,7 +1962,7 @@ MODULE* PCB_PARSER::parseMODULE_unchecked( wxArrayString* aInitialComments )
RotatePoint( &pt, module->GetOrientation() );
pad->SetPosition( pt + module->GetPosition() );
module->Add( pad );
module->Add( pad, ADD_APPEND );
}
break;