Sketcher: never ever hide constraint value sign, anymore

This commit is contained in:
DeepSOIC
2016-03-12 00:26:59 +03:00
committed by wmayer
parent ab449f5dd8
commit acec16d5dc
5 changed files with 9 additions and 40 deletions

View File

@@ -137,11 +137,11 @@ double Constraint::getPresentationValue() const
switch (Type) {
case Distance:
case Radius:
return std::abs(Value);
return Value;
case DistanceX:
case DistanceY:
if (FirstPos == Sketcher::none || Second != Sketcher::Constraint::GeoUndef)
return std::abs(Value);
return Value;
else
return Value;
case Angle: