From ff9a5b8373c40c7bbf69bc4a778ae3fc9a3eac8f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 21 May 2023 16:39:18 +0100 Subject: [PATCH] Remove change from teardrop merge that wasn't needed for final impl. --- pcbnew/board_commit.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pcbnew/board_commit.cpp b/pcbnew/board_commit.cpp index b01a0f3721..670ca26aba 100644 --- a/pcbnew/board_commit.cpp +++ b/pcbnew/board_commit.cpp @@ -427,14 +427,6 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags ) if( autofillZones ) dirtyIntersectingZones( boardItem, changeType ); - boardItem->SetFlags( STRUCT_DELETED ); - - if( boardItem->Type() == PCB_FOOTPRINT_T ) - { - for( PAD* pad : static_cast( boardItem )->Pads() ) - pad->SetFlags( STRUCT_DELETED ); - } - switch( boardItem->Type() ) { case PCB_TEXT_T: