Update comment.

This commit is contained in:
Jeff Young 2019-07-31 16:57:30 -06:00
parent ff28501d6d
commit 5c80019541
1 changed files with 2 additions and 3 deletions

View File

@ -405,9 +405,8 @@ void PCB_EDIT_FRAME::Exchange_Module( MODULE* aSrc, MODULE* aDest, BOARD_COMMIT&
PlaceModule( aDest, false );
// Copy full placement, locked flag and pad net names (when possible) but not local
// settings like clearances (use library values)
//
// PlaceModule will move the module to the cursor position, which we don't want. Copy
// the original position across.
aDest->SetPosition( aSrc->GetPosition() );
if( aDest->GetLayer() != aSrc->GetLayer() )