diff options
author | Joseph Eagar <joeedh@gmail.com> | 2006-11-17 09:14:15 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2006-11-17 09:14:15 +0300 |
commit | 4c5fcf136b510ddb2aeb9c1c9afbc155e95ce12c (patch) | |
tree | 1cf7b5790e151d5f9b2cb39e6ccd2f320bd64b2b /source/blender/blenkernel/intern/idprop.c | |
parent | c8ca36a9c8b9f8fabf1b8f09507f35349017cfbf (diff) |
=ID Properties Update=
This commit adds file reading/writing of ID properties to all ID types,
and also adds python access for NMesh, Mesh, Scene and Image. Note
that the file reading code might need some more work for certain
future/planned features to save right. Also I updated a few comments in idprop.c.
Diffstat (limited to 'source/blender/blenkernel/intern/idprop.c')
-rw-r--r-- | source/blender/blenkernel/intern/idprop.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c index ade4176eeac..66feaffadb7 100644 --- a/source/blender/blenkernel/intern/idprop.c +++ b/source/blender/blenkernel/intern/idprop.c @@ -64,13 +64,6 @@ void IDP_ResizeArray(IDProperty *prop, int newlen) prop->totallen = newsize; } -/*does NOT unlink anything!*/ -/*Ok, the way things work, Groups and List Arrays free the ID Property structs of their children. - - This is because all ID Property freeing functions free only direct data (not the ID Property - struct itself), but for Groups and List Arrays their child properties *are* considered - direct data. -*/ void IDP_FreeArray(IDProperty *prop) { if (prop->data.pointer) @@ -194,9 +187,9 @@ void IDP_FreeIterBeforeEnd(void *vself) MEM_freeN(vself); } -/*Ok, the way things work, Groups and List Arrays free the ID Property structs of their children. +/*Ok, the way things work, Groups free the ID Property structs of their children. This is because all ID Property freeing functions free only direct data (not the ID Property - struct itself), but for Groups and List Arrays their child properties *are* considered + struct itself), but for Groups the child properties *are* considered direct data.*/ void IDP_FreeGroup(IDProperty *prop) { |