From 75053cfc570b1d86e08288a2d2c5303208438f65 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 21 Dec 2022 19:06:26 +0300 Subject: [PATCH] Remove normally unused code from Move function. Fixes https://gitlab.com/kicad/code/kicad/issues/13222 --- pcbnew/tools/edit_tool_move_fct.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pcbnew/tools/edit_tool_move_fct.cpp b/pcbnew/tools/edit_tool_move_fct.cpp index f5db858d5f..01b09ba043 100644 --- a/pcbnew/tools/edit_tool_move_fct.cpp +++ b/pcbnew/tools/edit_tool_move_fct.cpp @@ -571,16 +571,6 @@ int EDIT_TOOL::doMoveSelection( const TOOL_EVENT& aEvent, const wxString& aCommi else if( !m_dragging && !evt->IsAction( &ACTIONS::refreshPreview ) ) { // Prepare to start dragging - if( !evt->IsAction( &PCB_ACTIONS::move ) - && !evt->IsAction( &PCB_ACTIONS::moveWithReference ) - && !evt->IsAction( &PCB_ACTIONS::moveIndividually ) - && !evt->IsAction( &PCB_ACTIONS::packAndMoveFootprints ) - && cfg->m_TrackDragAction != TRACK_DRAG_ACTION::MOVE ) - { - if( invokeInlineRouter( PNS::DM_ANY ) ) - break; - } - editFrame->HideSolderMask(); m_dragging = true;