=ID Properties Python Update=

ID Properties binding have now been added for textures.  Also,
the beginnings of supporting "del IDProperty Object" (which 
basically removes the property from it's parent group then frees
it) in python were done; really the only thing now is to figure 
out exactly *how* you overload the del operator. :S
This commit is contained in:
2006-11-19 16:00:04 +00:00
parent b861f9b9a6
commit 6e086d4cfe
9 changed files with 37 additions and 15 deletions

View File

@@ -67,6 +67,7 @@ struct rctf;
#include "BKE_nla.h"
#include "BKE_material.h"
#include "BKE_idprop.h"
#include "BKE_idprop.h"
#include "BSE_editipo.h"
#include "BSE_edit.h"
@@ -989,7 +990,7 @@ static PyObject *M_Object_Duplicate( PyObject * self_unused,
static PyObject *Object_GetProperties(BPy_Object * self)
{
return BPy_Wrap_IDProperty((ID*)self->object, IDP_GetProperties((ID*)self->object, 1));
return BPy_Wrap_IDProperty( (ID*)self->object, IDP_GetProperties((ID*)self->object, 1), NULL );
}