Sketcher: Fix crash on constraint selection

This commit is contained in:
PaddleStroke
2025-09-24 11:41:46 +02:00
committed by Chris Hennes
parent 155edc0f53
commit 2aa8f133f3

View File

@@ -353,6 +353,10 @@ bool isCommandNeedingBSplineKnotActive(Gui::Document* doc)
PointPos posId {PointPos::none};
getIdsFromName(name, Obj, geoId, posId);
if (geoId == GeoEnum::GeoUndef) {
return false;
}
int splineGeoId {GeoEnum::GeoUndef};
int knotIndexOCC {-1};