From bb2a0f825a3ba99844bde12d86917a1a6a991474 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 20 Mar 2023 21:21:38 +0000 Subject: [PATCH] Orthogonal dimension are always cardinal, even when their start points are not. Fixes https://gitlab.com/kicad/code/kicad/issues/13728 --- pcbnew/tools/drawing_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/drawing_tool.cpp b/pcbnew/tools/drawing_tool.cpp index 4fd6652a53..f393cd51d3 100644 --- a/pcbnew/tools/drawing_tool.cpp +++ b/pcbnew/tools/drawing_tool.cpp @@ -1128,7 +1128,7 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent ) grid.SetSnap( !evt->Modifier( MD_SHIFT ) ); grid.SetUseGrid( getView()->GetGAL()->GetGridSnapping() && !evt->DisableGridSnapping() ); - if( step == SET_HEIGHT ) + if( step == SET_HEIGHT && t != PCB_DIM_ORTHOGONAL_T && t != PCB_FP_DIM_ORTHOGONAL_T ) { if( dimension->GetStart().x != dimension->GetEnd().x && dimension->GetStart().y != dimension->GetEnd().y )