From 7f71eef45b53017d23290732b828a06c30bdc924 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sun, 31 Jul 2022 20:01:55 -0700 Subject: [PATCH] Move sheetpins by their connection point Need to calculate the sheet pin anchor position in order to get it aligned to the grid while moving Fixes https://gitlab.com/kicad/code/kicad/issues/12134 (cherry picked from commit 225b03d702a6a82e6c1230ed94a04a2d165070a7) --- eeschema/tools/ee_grid_helper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/tools/ee_grid_helper.cpp b/eeschema/tools/ee_grid_helper.cpp index b7a828d87e..54dd6be4a8 100644 --- a/eeschema/tools/ee_grid_helper.cpp +++ b/eeschema/tools/ee_grid_helper.cpp @@ -294,6 +294,7 @@ void EE_GRID_HELPER::computeAnchors( SCH_ITEM *aItem, const VECTOR2I &aRefPos, b case SCH_HIER_LABEL_T: case SCH_LABEL_T: case SCH_BUS_WIRE_ENTRY_T: + case SCH_SHEET_PIN_T: { std::vector pts = aItem->GetConnectionPoints();