Sketcher: fix docs for solve(..)
Since the docstring was initially written, an additional error code was added.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user