forked from bartvdbraak/blender
===Python API===
Bugfix #4369. Patch provided by Alberto Torres Ruiz (thanks) which fixes a bug in EditBone_getRoll(). Thanks!
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user