Sketcher bug fixes: Crash on deleting a line from the sketch

============================================================

- Crashing on deleting line on fully constraint box

As a bonus:
- Fully constrained sketch not shown in green on opening the sketch
This commit is contained in:
Abdullah Tahiri
2015-06-18 17:17:08 +02:00
committed by wmayer
parent 4caa464ebb
commit 65310f00ab
2 changed files with 3 additions and 5 deletions

View File

@@ -782,9 +782,6 @@ int SketchObject::delConstraintOnPoint(int GeoId, PointPos PosId, bool onlyCoinc
if (newVals.size() < vals.size()) {
this->Constraints.setValues(newVals);
if(noRecomputes) // if we do not have a recompute, the sketch must be solved to update the DoF of the solver
solve();
return 0;
}