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:
Abdullah Tahiri
2015-06-08 15:04:09 +02:00
committed by wmayer
parent 94c399bf57
commit fde23817f0
6 changed files with 118 additions and 17 deletions

View File

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