diff --git a/pcbnew/tools/pcb_grid_helper.cpp b/pcbnew/tools/pcb_grid_helper.cpp index 7efed4e32d..a3b4f33c57 100644 --- a/pcbnew/tools/pcb_grid_helper.cpp +++ b/pcbnew/tools/pcb_grid_helper.cpp @@ -674,6 +674,16 @@ void PCB_GRID_HELPER::computeAnchors( BOARD_ITEM* aItem, const VECTOR2I& aRefPos addAnchor( aItem->GetPosition(), ORIGIN, aItem ); break; + case PCB_GROUP_T: + { + const PCB_GROUP* group = static_cast( aItem ); + + for( BOARD_ITEM* item : group->GetItems() ) + computeAnchors( item, aRefPos, aFrom ); + + break; + } + default: break; }