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 fcfea2b62f
commit 5d9899e381

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};