Sketcher: fix docs for solve(..)

Since the docstring was initially written, an additional error code was added.
This commit is contained in:
Jonas Bähr
2023-09-01 22:52:02 +02:00
committed by wwmayer
parent 6da62b83fa
commit 34e877bc1d

View File

@@ -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