* 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.
This commit is contained in:
@@ -1008,7 +1008,7 @@ if (strcmp (name, "rot") == 0)return Metaball_getrot (self);
|
||||
/*******************************************************************************/
|
||||
static int MetaballSetAttr (C_Metaball *self, char *name, PyObject *value)
|
||||
{
|
||||
PyObject *valtuple = Py_BuildValue("(N)", value);
|
||||
PyObject *valtuple = Py_BuildValue("(O)", value);
|
||||
|
||||
if (!valtuple)
|
||||
return EXPP_ReturnIntError(PyExc_MemoryError,
|
||||
|
Reference in New Issue
Block a user