Separate logic for multi-select and click-select when filtering.
Also removes a bunch of old implementations of pad locking and filtering which are no longer needed. (They're now handled by the uniform locking code.) Also removes some of the auto-promotion logic. Rotating a footprint when a pad was selected is going to be surprising whether the pad is locked or not. Fixes https://gitlab.com/kicad/code/kicad/issues/8322
This commit is contained in:
@@ -157,7 +157,8 @@ void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry, bool a
|
||||
if( !( changeFlags & CHT_DONE ) )
|
||||
board->Footprints().front()->Add( boardItem );
|
||||
}
|
||||
else if( boardItem->Type() == PCB_FP_TEXT_T ||
|
||||
else if( boardItem->Type() == PCB_PAD_T ||
|
||||
boardItem->Type() == PCB_FP_TEXT_T ||
|
||||
boardItem->Type() == PCB_FP_SHAPE_T ||
|
||||
boardItem->Type() == PCB_FP_ZONE_T )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user