Add a degree symbol to angle constraints.
This commit is contained in:
parent
63d48e7840
commit
fb0aee91ea
@ -52,7 +52,7 @@ double Constraint::EllipticalInterpolation(double rx, double ry, double theta) {
|
|||||||
std::string Constraint::Label(void) {
|
std::string Constraint::Label(void) {
|
||||||
std::string result;
|
std::string result;
|
||||||
if(type == ANGLE) {
|
if(type == ANGLE) {
|
||||||
result = ssprintf("%.2f", valA);
|
result = ssprintf("%.2f°", valA);
|
||||||
} else if(type == LENGTH_RATIO) {
|
} else if(type == LENGTH_RATIO) {
|
||||||
result = ssprintf("%.3f:1", valA);
|
result = ssprintf("%.3f:1", valA);
|
||||||
} else if(type == LENGTH_DIFFERENCE) {
|
} else if(type == LENGTH_DIFFERENCE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user