=ID Properties=
authorJoseph Eagar <joeedh@gmail.com>
Fri, 17 Nov 2006 04:46:48 +0000 (04:46 +0000)
committerJoseph Eagar <joeedh@gmail.com>
Fri, 17 Nov 2006 04:46:48 +0000 (04:46 +0000)
commit8768707610fbc1cea2bde069cdfd6d3f3e2fc522
treefb8347ad36f60dede2883b587688184c3631cbcc
parent24f4440d05aa626f35c27758698af396ea94ff76
=ID Properties=

This commit adds supports for per-ID properties to blender.
See http://mediawiki.blender.org/index.php/BlenderDev/ID_Property
for more information on how it all works.

ID properties are accesable by python; but note that
bindings have only been added to Object and Material thus
far.  However adding more bindings is easy and I plan
on adding several more hopefully within an hour of this inital
commit.

A generic UI panel is also planned, that will go wherever its
needed; for example in the material buttons, editing buttons, etc.
I'll likely submit the initial code for that as a patch, though,
so matt and ton and others can go over it and make sure it's
all good. :)

VERY important, if you intend to use ID properties please
go to http://mediawiki.blender.org/index.php/BlenderDev/PropertyStandards
and start writing the appropriate standards for it.
source/blender/blenkernel/BKE_idprop.h [new file with mode: 0644]
source/blender/blenkernel/intern/idprop.c [new file with mode: 0644]
source/blender/blenkernel/intern/library.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/makesdna/DNA_ID.h
source/blender/python/api2_2x/IDProp.c [new file with mode: 0644]
source/blender/python/api2_2x/IDProp.h [new file with mode: 0644]
source/blender/python/api2_2x/Material.c
source/blender/python/api2_2x/Object.c
source/blender/python/api2_2x/doc/IDProp.py [new file with mode: 0644]