Sketcher : arc angle render improvement.

This commit is contained in:
Paddle
2024-01-16 16:09:13 +01:00
parent edc247cd54
commit 772d2940bd

View File

@@ -1297,6 +1297,9 @@ Restart:
auto* arc = static_cast<const Part::GeomArcOfCircle*>(geo);
p0 = Base::convertTo<SbVec3f>(arc->getCenter());
endLineLength1 = 2 * distance - arc->getRadius();
endLineLength2 = endLineLength1;
double endangle;
arc->getRange(startangle, endangle, /*emulateCCWXY=*/true);
range = endangle - startangle;