This commit is contained in:
Florian Foinant-Willig
2024-05-06 18:06:27 +02:00
committed by GitHub
parent 06174f4693
commit 31a4915012

View File

@@ -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()) {