Sketcher new Feature: Creation Mode of geometry

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

It allows to select whether the geometry will be created as construction geometry or normal geometry.

This commit includes an important bug fix to reduce the number of times the sketcher solver is called when toggling
geometry. It makes an important difference in the creation during construction mode and InternalAligment geometry like the ellipse.

This commit does not include icons.

You have a button next to toggle that after having been clicked, switches from Normal to Construction geometry and vice versa
This commit is contained in:
Abdullah Tahiri
2015-05-22 17:36:05 +02:00
committed by wmayer
parent c47e29c54c
commit 83dfb0277a
3 changed files with 304 additions and 13 deletions

View File

@@ -472,7 +472,7 @@ int SketchObject::toggleConstruction(int GeoId)
newVals[GeoId]=geoNew;
this->Geometry.setValues(newVals);
this->Constraints.acceptGeometry(getCompleteGeometry());
//this->Constraints.acceptGeometry(getCompleteGeometry()); <= This is not necessary for a toggle. Reducing redundant solving. Abdullah
return 0;
}