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/IDProp.h | |
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/IDProp.h')
-rw-r--r-- | source/blender/python/api2_2x/IDProp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/IDProp.h b/source/blender/python/api2_2x/IDProp.h index 5fdac5611f4..36bf30d106e 100644 --- a/source/blender/python/api2_2x/IDProp.h +++ b/source/blender/python/api2_2x/IDProp.h @@ -7,7 +7,7 @@ struct BPy_IDGroup_Iter; typedef struct BPy_IDProperty { PyObject_VAR_HEAD struct ID *id; - struct IDProperty *prop; + struct IDProperty *prop, *parent; PyObject *data_wrap; } BPy_IDProperty; @@ -23,4 +23,4 @@ typedef struct BPy_IDGroup_Iter { struct IDProperty *cur; } BPy_IDGroup_Iter; -PyObject *BPy_Wrap_IDProperty(struct ID *id, struct IDProperty *prop); +PyObject *BPy_Wrap_IDProperty(struct ID *id, struct IDProperty *prop, struct IDProperty *parent); |