diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-08-05 07:45:31 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-08-05 07:45:31 +0400 |
commit | 683c322b0ebf7f407bb79f775f592e8ebfeef078 (patch) | |
tree | c54d9f5d441c688feb8d1975b4475fa87e257b19 /source/blender/python/api2_2x/Bone.c | |
parent | 7db4249ae4ad5b32993c18a3cd66bd339449d5c8 (diff) |
Exppython:
- Fixed bug #399:
Old bug on NMesh: segfault on NMesh.Face(vertexlist).
- Fixed bug #433:
"Typo" on Armature: bone's setQuat method was changing bone->head, not
bone->quat.
Diffstat (limited to 'source/blender/python/api2_2x/Bone.c')
-rw-r--r-- | source/blender/python/api2_2x/Bone.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index d94623f5e3f..226ce3b2898 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -543,10 +543,10 @@ static PyObject *Bone_setQuat(BPy_Bone *self, PyObject *args) return (EXPP_ReturnPyObjError (PyExc_AttributeError, "expected 4 float arguments")); - self->bone->head[0] = f1; - self->bone->head[1] = f2; - self->bone->head[2] = f3; - self->bone->head[3] = f4; + self->bone->quat[0] = f1; + self->bone->quat[1] = f2; + self->bone->quat[2] = f3; + self->bone->quat[3] = f4; Py_INCREF(Py_None); return Py_None; |