Update comment.
This commit is contained in:
parent
ff28501d6d
commit
5c80019541
|
@ -405,9 +405,8 @@ void PCB_EDIT_FRAME::Exchange_Module( MODULE* aSrc, MODULE* aDest, BOARD_COMMIT&
|
||||||
|
|
||||||
PlaceModule( aDest, false );
|
PlaceModule( aDest, false );
|
||||||
|
|
||||||
// Copy full placement, locked flag and pad net names (when possible) but not local
|
// PlaceModule will move the module to the cursor position, which we don't want. Copy
|
||||||
// settings like clearances (use library values)
|
// the original position across.
|
||||||
//
|
|
||||||
aDest->SetPosition( aSrc->GetPosition() );
|
aDest->SetPosition( aSrc->GetPosition() );
|
||||||
|
|
||||||
if( aDest->GetLayer() != aSrc->GetLayer() )
|
if( aDest->GetLayer() != aSrc->GetLayer() )
|
||||||
|
|
Loading…
Reference in New Issue