diff options
author | Joseph Eagar <joeedh@gmail.com> | 2006-11-19 19:00:04 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2006-11-19 19:00:04 +0300 |
commit | 6e086d4cfe88a62e0ec7f6e1a6731c0685896078 (patch) | |
tree | 3b481fa3c66bd7795c57fe1c5155e4e9ecea8192 /source/blender/python/api2_2x/Material.c | |
parent | b861f9b9a61952c80774e5fa41b0be1b543684cb (diff) |
=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
Diffstat (limited to 'source/blender/python/api2_2x/Material.c')
-rw-r--r-- | source/blender/python/api2_2x/Material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Material.c b/source/blender/python/api2_2x/Material.c index ae8eba049bb..cb5beb7180a 100644 --- a/source/blender/python/api2_2x/Material.c +++ b/source/blender/python/api2_2x/Material.c @@ -1290,7 +1290,7 @@ Material *GetMaterialByName( char *name ) static PyObject *Material_getProperties( BPy_Material * self ) { /*sanity check, we set parent property type to Group here*/ - return BPy_Wrap_IDProperty((ID*)self->material, IDP_GetProperties((ID*)self->material, 1)); + return BPy_Wrap_IDProperty( (ID*)self->material, IDP_GetProperties((ID*)self->material, 1), NULL ); } static PyObject *Material_getIpo( BPy_Material * self ) |