Fix 12755 (#13802)
This commit is contained in:
committed by
GitHub
parent
06174f4693
commit
31a4915012
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user