Browse Source

Remove debug assert.

Yes, it does indeed fire (a lot, as Sentry can
tell us).
revert-0c36e162
Jeff Young 9 months ago
parent
commit
baaf341d0d
  1. 3
      pcbnew/undo_redo.cpp

3
pcbnew/undo_redo.cpp

@ -364,9 +364,6 @@ void PCB_BASE_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList )
{
if( GetBoard()->GetItem( eda_item->m_Uuid ) == DELETED_BOARD_ITEM::GetInstance() )
{
// Checking if it ever happens
wxASSERT_MSG( false, wxT( "Item in the undo buffer does not exist" ) );
// Remove this non existent item
aList->RemovePicker( ii );
not_found = true;

Loading…
Cancel
Save