Sketcher: Fixed keeping sign of constraints.

This commit is contained in:
Eivind Kvedalen
2015-10-05 00:02:41 +02:00
committed by wmayer
parent 51e4eebbc6
commit 208ba9eb9d
5 changed files with 18 additions and 11 deletions

View File

@@ -108,6 +108,11 @@ void Constraint::setValue(double newValue)
}
double Constraint::getValue() const
{
return Value;
}
double Constraint::getPresentationValue() const
{
switch (Type) {
case Distance: