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

@@ -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