- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user