Attempt to fix borked build....
This commit is contained in:
parent
25db3032ee
commit
85f4ab3944
|
@ -120,7 +120,7 @@ PANEL_SETUP_BOARD_STACKUP::PANEL_SETUP_BOARD_STACKUP( wxWindow* aParentWindow,
|
||||||
synchronizeWithBoard( true );
|
synchronizeWithBoard( true );
|
||||||
computeBoardThickness();
|
computeBoardThickness();
|
||||||
|
|
||||||
m_frame->Bind( EDA_EVT_UNITS_CHANGED, &PANEL_SETUP_BOARD_STACKUP::onUnitsChanged, this );
|
m_frame->Bind( UNITS_CHANGED, &PANEL_SETUP_BOARD_STACKUP::onUnitsChanged, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -653,7 +653,10 @@ int EDIT_TOOL::doMoveSelection( const TOOL_EVENT& aEvent, const wxString& aCommi
|
||||||
if( item->Type() == PCB_FOOTPRINT_T )
|
if( item->Type() == PCB_FOOTPRINT_T )
|
||||||
FPs.push_back( static_cast<FOOTPRINT*>( item ) );
|
FPs.push_back( static_cast<FOOTPRINT*>( item ) );
|
||||||
|
|
||||||
item->RunOnDescendants(
|
if( item->Type() == PCB_GROUP_T )
|
||||||
|
{
|
||||||
|
PCB_GROUP* group = static_cast<PCB_GROUP*>( item );
|
||||||
|
group->RunOnDescendants(
|
||||||
[&]( BOARD_ITEM* descendent )
|
[&]( BOARD_ITEM* descendent )
|
||||||
{
|
{
|
||||||
if( descendent->Type() == PCB_FOOTPRINT_T )
|
if( descendent->Type() == PCB_FOOTPRINT_T )
|
||||||
|
@ -661,6 +664,7 @@ int EDIT_TOOL::doMoveSelection( const TOOL_EVENT& aEvent, const wxString& aCommi
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
m_cursor = grid.BestDragOrigin( originalCursorPos, sel_items,
|
m_cursor = grid.BestDragOrigin( originalCursorPos, sel_items,
|
||||||
&m_selectionTool->GetFilter() );
|
&m_selectionTool->GetFilter() );
|
||||||
|
|
Loading…
Reference in New Issue