diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index c63ad3d016a..c18beb17b08 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -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)