===Python API===

Bugfix #4369.  Patch provided by Alberto Torres Ruiz (thanks) which
fixes a bug in EditBone_getRoll().  Thanks!
This commit is contained in:
Ken Hughes 2006-07-06 18:02:57 +00:00
parent 86ce9c71b6
commit 96c6457b26

@ -146,9 +146,9 @@ AttributeError:
static PyObject *EditBone_getRoll(BPy_EditBone *self, void *closure)
{
if (self->editbone){
return Py_BuildValue("f", PyFloat_FromDouble((self->editbone->roll * (180/Py_PI))));
return PyFloat_FromDouble((self->editbone->roll * (180/Py_PI)));
}else{
return Py_BuildValue("f", PyFloat_FromDouble((self->roll * (180/Py_PI))));
return PyFloat_FromDouble((self->roll * (180/Py_PI)));
}
}
//------------------------EditBone.roll (set)