Browse Source

Fix Pack & Move footprints when working with groups.

7.0
Alex 3 years ago
parent
commit
b4b25a7009
  1. 4
      pcbnew/tools/edit_tool_move_fct.cpp

4
pcbnew/tools/edit_tool_move_fct.cpp

@ -195,6 +195,10 @@ int EDIT_TOOL::PackAndMoveFootprints( const TOOL_EVENT& aEvent )
PCB_SELECTION& selection = m_selectionTool->RequestSelection(
[]( const VECTOR2I& aPt, GENERAL_COLLECTOR& aCollector, PCB_SELECTION_TOOL* sTool )
{
sTool->FilterCollectorForMarkers( aCollector );
sTool->FilterCollectorForHierarchy( aCollector, true );
sTool->FilterCollectorForFreePads( aCollector );
// Iterate from the back so we don't have to worry about removals.
for( int i = aCollector.GetCount() - 1; i >= 0; --i )
{

Loading…
Cancel
Save