Blender Git Commit Log

Git Commits -> Revision 8768707

Revision 8768707 by Joseph Eagar (master)
November 17, 2006, 04:46 (GMT)
=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.

Commit Details:

Full Hash: 8768707610fbc1cea2bde069cdfd6d3f3e2fc522
Parent Commit: 24f4440
Lines Changed: +1794, -9

5 Added Paths:

/source/blender/blenkernel/BKE_idprop.h (+112, -0) (View)
/source/blender/blenkernel/intern/idprop.c (+338, -0) (View)
/source/blender/python/api2_2x/doc/IDProp.py (+65, -0) (View)
/source/blender/python/api2_2x/IDProp.c (+1007, -0) (View)
/source/blender/python/api2_2x/IDProp.h (+26, -0) (View)

6 Modified Paths:

/source/blender/blenkernel/intern/library.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+97, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+63, -2) (Diff)
/source/blender/makesdna/DNA_ID.h (+55, -5) (Diff)
/source/blender/python/api2_2x/Material.c (+13, -0) (Diff)
/source/blender/python/api2_2x/Object.c (+13, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021