Add footprint zones to paste routine.
Fixes https://gitlab.com/kicad/code/kicad/issues/7442
This commit is contained in:
parent
d70cebcd62
commit
0ca76571ce
|
@ -594,6 +594,14 @@ static void pasteFootprintItemsToFootprintEditor( FOOTPRINT* aClipFootprint, BOA
|
|||
|
||||
aClipFootprint->GraphicalItems().clear();
|
||||
|
||||
for( FP_ZONE* zone : aClipFootprint->Zones() )
|
||||
{
|
||||
zone->SetParent( editorFootprint );
|
||||
aPastedItems.push_back( zone );
|
||||
}
|
||||
|
||||
aClipFootprint->Zones().clear();
|
||||
|
||||
for( PCB_GROUP* group : aClipFootprint->Groups() )
|
||||
{
|
||||
group->SetParent( editorFootprint );
|
||||
|
|
Loading…
Reference in New Issue