From d61d66505fd5b2a56b5aecb41ad26c19abb0952f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 29 Mar 2025 16:47:44 +0000 Subject: [PATCH] Remove debug assert. Yes, it does indeed fire (a lot, as Sentry can tell us). (cherry picked from commit baaf341d0dbea5c08689b134b8c71802c13d73a9) --- pcbnew/undo_redo.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/pcbnew/undo_redo.cpp b/pcbnew/undo_redo.cpp index 7e7b37b9d1..3d0aad50d3 100644 --- a/pcbnew/undo_redo.cpp +++ b/pcbnew/undo_redo.cpp @@ -363,9 +363,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;