From 3a8ffd40b8dd96bd8a75ff1264b5a9852498e78b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 26 Dec 2021 17:30:21 +0000 Subject: [PATCH] Fix dimension drawing bug. --- pcbnew/tools/drawing_tool.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcbnew/tools/drawing_tool.cpp b/pcbnew/tools/drawing_tool.cpp index f96ce916cc..40476ed599 100644 --- a/pcbnew/tools/drawing_tool.cpp +++ b/pcbnew/tools/drawing_tool.cpp @@ -1020,7 +1020,6 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent ) textOffset = -textOffset; radialDim->Text().SetPosition( radialDim->GetKnee() + textOffset ); - radialDim->Update(); } else if( t == PCB_DIM_LEADER_T || t == PCB_FP_DIM_LEADER_T ) { @@ -1030,9 +1029,9 @@ int DRAWING_TOOL::DrawDimension( const TOOL_EVENT& aEvent ) textOffset = -textOffset; dimension->Text().SetPosition( dimension->GetEnd() + textOffset ); - dimension->Update(); } + dimension->Update(); break; case SET_HEIGHT: