diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-09 08:01:48 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-06-09 08:01:48 +0400 |
commit | 864e5640f701684c416812fa6a05ccff7a64a73f (patch) | |
tree | 12d72a3b39bf48c2894ca76a8cc007a6e8916841 /source/blender/python/api2_2x/Curve.c | |
parent | 51850586a86e761ae6af9ff15542a1a231de99da (diff) |
* Applied a small fix to a bug reported by Guignot:
When a script that used setAttr for Camera Data objs (the bug also
affected some other modules) was executed multiple times, Blender
would crash after, let's say, the first 5 or 6 tries. Problem, as
Guignot pointed, was with reference counting. Should be ok now, all
affected modules were fixed.
* The Scene module is now "complete" (= 2.25).
* Made some necessary updates to Object and NMesh.
Diffstat (limited to 'source/blender/python/api2_2x/Curve.c')
-rw-r--r-- | source/blender/python/api2_2x/Curve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Curve.c b/source/blender/python/api2_2x/Curve.c index bc9a9571f70..9e2c6169fc0 100644 --- a/source/blender/python/api2_2x/Curve.c +++ b/source/blender/python/api2_2x/Curve.c @@ -614,7 +614,7 @@ static PyObject *CurveGetAttr (C_Curve *self, char *name)//getattr static int CurveSetAttr (C_Curve *self, char *name, PyObject *value) { PyObject *valtuple; PyObject *error = NULL; - valtuple = Py_BuildValue("(N)", value); + valtuple = Py_BuildValue("(O)", value); //resolu resolv width ext1 ext2 if (!valtuple) return EXPP_ReturnIntError(PyExc_MemoryError, |