Sketcher: encapsulate Sketch::SolveTime and RecalculateInitialSolutionWhileMovingPoint members

This commit is contained in:
Abdullah Tahiri
2020-12-25 06:43:24 +01:00
committed by abdullahtahiriyo
parent 84a8bb5741
commit b6729a41d7
3 changed files with 19 additions and 6 deletions

View File

@@ -294,7 +294,7 @@ int SketchObject::solve(bool updateGeoAfterSolving/*=true*/)
Base::Console().Error("Sketch %s has malformed constraints!\n",this->getNameInDocument());
}
lastSolveTime=solvedSketch.SolveTime;
lastSolveTime=solvedSketch.getSolveTime();
if (err == 0 && updateGeoAfterSolving) {
// set the newly solved geometry