diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2004-05-11 12:26:44 +0400 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2004-05-11 12:26:44 +0400 |
commit | f141aed9dc578aa12a04413b2def2cc1ab95ccb8 (patch) | |
tree | 9bd399b1e7fc4c2fe2fba86cd5a3fa6e14ca3881 /source/blender/python/api2_2x/quat.c | |
parent | 404d9ab0a2d8cb4322602d7ce482e4a78aabe8b9 (diff) |
- bugfix #1197 (New Bone.parent/child Access Destructive)
- a major redo of the Bone module
- BPy_Bone structs are separated into Bone data and python vars. This is necessary for the correct memory allocation of bone data between python and the global armature list.
Diffstat (limited to 'source/blender/python/api2_2x/quat.c')
-rw-r--r-- | source/blender/python/api2_2x/quat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/quat.c b/source/blender/python/api2_2x/quat.c index 3d785570027..f1c794e0c42 100644 --- a/source/blender/python/api2_2x/quat.c +++ b/source/blender/python/api2_2x/quat.c @@ -296,7 +296,7 @@ static PyObject *Quaternion_repr (QuaternionObject *self) PyString_ConcatAndDel (&str1, str2); } - sprintf(ftoa, "%.4f]\n", self->quat[maxindex]); + sprintf(ftoa, "%.4f]", self->quat[maxindex]); str2 = PyString_FromString (ftoa); if (!str1 || !str2) goto error; PyString_ConcatAndDel (&str1, str2); |