This commit is contained in:
Florian Foinant-Willig
2024-05-06 11:06:27 -05:00
committed by GitHub
parent 3d2419effc
commit 4499ea5b88
@@ -833,6 +833,12 @@ void DSHArcController::addConstraints()
}
}
else { // Valid diagnosis. Must check which constraints may be added.
// if no curve exists a crash occurs #12755
if (firstCurve < 0) {
return;
}
auto startpointinfo = handler->getPointInfo(GeoElementId(firstCurve, pos1));
if (x0set && startpointinfo.isXDoF()) {