diff --git a/src/Mod/Sketcher/App/SketchObject.h b/src/Mod/Sketcher/App/SketchObject.h index fb363b25df..beea95e75d 100644 --- a/src/Mod/Sketcher/App/SketchObject.h +++ b/src/Mod/Sketcher/App/SketchObject.h @@ -237,8 +237,12 @@ public: sketch and updates all dependent features When a solve only is necessary (e.g. DoF changed), solve() solves the sketch and updates the geometry (if updateGeoAfterSolving==true), but does not trigger any recompute. - @return 0 if no error, if error, the following codes in this order of priority: -4 if - overconstrained, -3 if conflicting, -1 if solver error, -2 if redundant constraints + @return 0 if no error, if error, the following codes in this order of priority: + -4 if overconstrained, + -3 if conflicting constraints, + -5 if malformed constraints, + -1 if solver error, + -2 if redundant constraints */ int solve(bool updateGeoAfterSolving = true); /// set the datum of a Distance or Angle constraint and solve