+ fixes #0001225: Allow User to Rotate Arc Radius Constraint Text and Leader

This commit is contained in:
wmayer
2015-01-02 21:26:03 +01:00
parent fe994efa66
commit 08828e5dc0
2 changed files with 22 additions and 6 deletions

View File

@@ -143,6 +143,9 @@ int ConstraintPy::PyInit(PyObject* args, PyObject* /*kwd*/)
}
else if (strcmp("Radius",ConstraintType) == 0) {
this->getConstraintPtr()->Type = Radius;
// set a value that is out of range of result of atan2
// this value is handled in ViewProviderSketch
this->getConstraintPtr()->LabelPosition = 10;
valid = true;
}
if (valid) {