From 04c84fa842975a290a41b4d0186683ecaac9390b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 19 Nov 2020 15:47:32 +0000 Subject: [PATCH] Remove some expensive trace calls. --- pcbnew/tools/selection_tool.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 1a12657566..e867e96f03 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -2044,9 +2044,6 @@ void SELECTION_TOOL::highlight( BOARD_ITEM* aItem, int aMode, PCBNEW_SELECTION* void SELECTION_TOOL::highlightInternal( BOARD_ITEM* aItem, int aMode, PCBNEW_SELECTION* aSelectionViewGroup, bool isChild ) { - wxLogTrace( "GRP", wxString::Format( "highlight() %s", - aItem->GetSelectMenuText( EDA_UNITS::MILLIMETRES ) ) ); - if( aMode == SELECTED ) aItem->SetSelected(); else if( aMode == BRIGHTENED ) @@ -2098,9 +2095,6 @@ void SELECTION_TOOL::unhighlight( BOARD_ITEM* aItem, int aMode, PCBNEW_SELECTION void SELECTION_TOOL::unhighlightInternal( BOARD_ITEM* aItem, int aMode, PCBNEW_SELECTION* aSelectionViewGroup, bool isChild ) { - wxLogTrace( "GRP", wxString::Format( "unhighlight() %s", - aItem->GetSelectMenuText( EDA_UNITS::MILLIMETRES ) ) ); - if( aMode == SELECTED ) aItem->ClearSelected(); else if( aMode == BRIGHTENED )