Sketcher: Fix crash on constraint selection

This commit is contained in:
PaddleStroke
2025-09-24 10:21:22 -05:00
committed by Chris Hennes
parent 155edc0f53
commit 2aa8f133f3
@@ -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};