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/vector.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/vector.c')
-rw-r--r-- | source/blender/python/api2_2x/vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/vector.c b/source/blender/python/api2_2x/vector.c index efb13787204..5ef10cdb9e6 100644 --- a/source/blender/python/api2_2x/vector.c +++ b/source/blender/python/api2_2x/vector.c @@ -345,7 +345,7 @@ static PyObject *Vector_repr (VectorObject *self) PyString_ConcatAndDel (&str1, str2); } - sprintf(ftoa, "%.4f]\n", self->vec[maxindex]); + sprintf(ftoa, "%.4f]", self->vec[maxindex]); str2 = PyString_FromString (ftoa); if (!str1 || !str2) goto error; PyString_ConcatAndDel (&str1, str2); |