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:
parent
64bb1ca924
commit
cd49ff0120
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue