Sketcher: Bug fixes to Auto-Update Mode
======================================= - Fixing toggle AutoUpdate Mode - Fix Auto-Update Sketcher tools - Fix missing createGeo recomputes - Missing constraints recomputes fixed Various fixes for non-Update mode: - Fixes lack of update upon entering a conflicting datum constraint. - Fixes lack of update upon setting the reference/driving status of a constraint - Added tooltips to buttons
This commit is contained in:
@@ -289,6 +289,9 @@ int SketchObject::setDriving(int ConstrId, bool isdriving)
|
||||
newVals[ConstrId] = constNew;
|
||||
this->Constraints.setValues(newVals);
|
||||
delete constNew;
|
||||
|
||||
if(noRecomputes) // if we do not have a recompute, the sketch must be solved to update the DoF of the solver
|
||||
solve();
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -342,6 +345,9 @@ int SketchObject::toggleDriving(int ConstrId)
|
||||
newVals[ConstrId] = constNew;
|
||||
this->Constraints.setValues(newVals);
|
||||
delete constNew;
|
||||
|
||||
if(noRecomputes) // if we do not have a recompute, the sketch must be solved to update the DoF of the solver
|
||||
solve();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user