Remove some expensive trace calls.

This commit is contained in:
Jeff Young 2020-11-19 15:47:32 +00:00
parent 99796d359f
commit 04c84fa842
1 changed files with 0 additions and 6 deletions

View File

@ -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 )