Sketcher: New Sketcher Constraint Diameter

This commit is contained in:
Abdullah Tahiri
2018-06-15 16:09:45 +02:00
committed by wmayer
parent 8ef330d19a
commit 4bbc7ea786
2 changed files with 2 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ Quantity Constraint::getPresentationValue() const
switch (Type) {
case Distance:
case Radius:
case Diameter:
case DistanceX:
case DistanceY:
quantity.setValue(Value);

View File

@@ -56,6 +56,7 @@ enum ConstraintType {
InternalAlignment = 15,
SnellsLaw = 16,
Block = 17,
Diameter = 18,
NumConstraintTypes // must be the last item!
};