Index: obj_pstk.h =================================================================== --- obj_pstk.h (revision 12961) +++ obj_pstk.h (revision 12962) @@ -90,7 +90,10 @@ /* Return whether a group is empty (free of padstack shapes) */ pcb_bool pcb_pstk_is_group_empty(pcb_board_t *pcb, pcb_layergrp_id_t gid); +/* Copy all metadata (attributes, thermals, etc.) */ +pcb_pstk_t *pcb_pstk_copy_meta(pcb_pstk_t *dst, pcb_pstk_t *src); + /*** proto ***/ /* Convert selection or current buffer to padstack; returns PCB_PADSTACK_INVALID