|
|
|
@ -221,7 +221,12 @@ void PCB_TABLE::Flip( const VECTOR2I& aCentre, FLIP_DIRECTION aFlipDirection ) |
|
|
|
void PCB_TABLE::RunOnChildren( const std::function<void( BOARD_ITEM* )>& aFunction, RECURSE_MODE aMode ) const |
|
|
|
{ |
|
|
|
for( PCB_TABLECELL* cell : m_cells ) |
|
|
|
{ |
|
|
|
aFunction( cell ); |
|
|
|
|
|
|
|
if( aMode == RECURSE_MODE::RECURSE ) |
|
|
|
cell->RunOnChildren( aFunction, aMode ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|