TechDraw: fix extension lines of projected dimension

This commit is contained in:
Florian Foinant-Willig
2023-10-02 13:53:01 -04:00
committed by WandererFan
parent c8313874e4
commit 60da0b80f7
4 changed files with 42 additions and 3 deletions
+3 -1
View File
@@ -766,7 +766,9 @@ pointPair DrawViewDimension::getPointsEdgeVert(ReferenceVector references)
auto p2 = Base::Vector3d(projector.NearestPoint().X()
, projector.NearestPoint().Y()
, 0.0);
return pointPair(p1, p2);
pointPair result = pointPair(p1, p2);
result.setExtensionLine(closestPoints(edge->getOCCEdge(), vertex->getOCCVertex()));
return result;
}
else {
// unable to project