TechDraw: fix extension lines of projected dimension

This commit is contained in:
Florian Foinant-Willig
2023-10-01 21:16:54 +02:00
committed by WandererFan
parent ed87ce0af0
commit 2d27b84686
4 changed files with 42 additions and 3 deletions

View File

@@ -2112,7 +2112,7 @@ void QGIViewDimension::drawDistance(TechDraw::DrawViewDimension* dimension,
dimension->ExtensionAngle.getValue() * M_PI / 180.0);
}
else {
drawDistanceExecutive(fromQtApp(linePoints.first()), fromQtApp(linePoints.second()),
drawDistanceExecutive(fromQtApp(linePoints.extensionLineFirst()), fromQtApp(linePoints.extensionLineSecond()),
lineAngle, labelRectangle, standardStyle, renderExtent, flipArrows);
}
}