- 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.
This commit is contained in:
2004-05-11 08:26:44 +00:00
parent 404d9ab0a2
commit f141aed9dc
6 changed files with 1422 additions and 1304 deletions

View File

@@ -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);