Skip to content

Commit

Permalink
Sketcher: New Sketcher Constraint Diameter
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahtahiriyo authored and wwmayer committed Jul 29, 2018
1 parent 8ef330d commit 4bbc7ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Mod/Sketcher/App/Constraint.cpp
Expand Up @@ -136,6 +136,7 @@ Quantity Constraint::getPresentationValue() const
switch (Type) {
case Distance:
case Radius:
case Diameter:
case DistanceX:
case DistanceY:
quantity.setValue(Value);
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Sketcher/App/Constraint.h
Expand Up @@ -56,6 +56,7 @@ enum ConstraintType {
InternalAlignment = 15,
SnellsLaw = 16,
Block = 17,
Diameter = 18,
NumConstraintTypes // must be the last item!
};

Expand Down

0 comments on commit 4bbc7ea

Please sign in to comment.