Sketcher: Fix crash on constraint selection
This commit is contained in:
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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user