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 );
|
||||
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,12 +653,16 @@ int EDIT_TOOL::doMoveSelection( const TOOL_EVENT& aEvent, const wxString& aCommi
|
|||
if( item->Type() == PCB_FOOTPRINT_T )
|
||||
FPs.push_back( static_cast<FOOTPRINT*>( item ) );
|
||||
|
||||
item->RunOnDescendants(
|
||||
[&]( BOARD_ITEM* descendent )
|
||||
{
|
||||
if( descendent->Type() == PCB_FOOTPRINT_T )
|
||||
FPs.push_back( static_cast<FOOTPRINT*>( descendent ) );
|
||||
} );
|
||||
if( item->Type() == PCB_GROUP_T )
|
||||
{
|
||||
PCB_GROUP* group = static_cast<PCB_GROUP*>( item );
|
||||
group->RunOnDescendants(
|
||||
[&]( BOARD_ITEM* descendent )
|
||||
{
|
||||
if( descendent->Type() == PCB_FOOTPRINT_T )
|
||||
FPs.push_back( static_cast<FOOTPRINT*>( descendent ) );
|
||||
} );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue