From f70454cc146240707c5e6486da68d279ec014180 Mon Sep 17 00:00:00 2001 From: pavltom Date: Mon, 6 Nov 2023 16:01:52 +0100 Subject: [PATCH] [TechDraw] - Fix issue #10094 --- src/Mod/TechDraw/TechDrawTools/CommandAxoLengthDimension.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/TechDraw/TechDrawTools/CommandAxoLengthDimension.py b/src/Mod/TechDraw/TechDrawTools/CommandAxoLengthDimension.py index 1d80136c00..da40e4d603 100644 --- a/src/Mod/TechDraw/TechDrawTools/CommandAxoLengthDimension.py +++ b/src/Mod/TechDraw/TechDrawTools/CommandAxoLengthDimension.py @@ -75,8 +75,8 @@ class CommandAxoLengthDimension: distanceDim.AngleOverride = True distanceDim.LineAngle = lineAngle distanceDim.ExtensionAngle = extAngle - distanceDim.X = (vertexes[0].Point.x+vertexes[1].Point.x)/2 - distanceDim.Y = (vertexes[0].Point.y+vertexes[1].Point.y)/2 + distanceDim.X = (vertexes[0].Point.x+vertexes[1].Point.x)*view.Scale/2 + distanceDim.Y = (vertexes[0].Point.y+vertexes[1].Point.y)*view.Scale/2 distanceDim.recompute() view.requestPaint() Gui.Selection.clearSelection()