Index: trunk/src_plugins/autocrop/autocrop.c =================================================================== --- trunk/src_plugins/autocrop/autocrop.c (revision 13094) +++ trunk/src_plugins/autocrop/autocrop.c (revision 13095) @@ -11,6 +11,7 @@ * License, version 2 or later. * * Ported to pcb-rnd by Tibor 'Igor2' Palinkas in 2016. + * Copyright (C) 2016..2017 Tibor 'Igor2' Palinkas * * From: Ben Jackson * To: geda-user@moria.seul.org @@ -155,6 +156,12 @@ pcb_undo_add_obj_to_move(PCB_TYPE_VIA, NULL, NULL, via, dx, dy); } PCB_END_LOOP; + PCB_PADSTACK_LOOP(PCB->Data); + { + pcb_pstk_move(padstack, dx, dy, pcb_true); + pcb_undo_add_obj_to_move(PCB_TYPE_PSTK, NULL, NULL, padstack, dx, dy); + } + PCB_END_LOOP; PCB_LINE_ALL_LOOP(PCB->Data); { MyMoveLineLowLevel(PCB->Data, layer, line, dx, dy);