Blender Git Loki

Git Commits -> Revision 7e8ba5c

Revision 7e8ba5c by Brecht Van Lommel (master)
November 7, 2008, 02:58 (GMT)
RNA

* Added more error prints for wrong definitions, for cases that
would laters cause problems compiling or crash at runtime, and
also made messages more clear.
* Added some skeleton code for main/ID/mesh/vertex types for testing.
* Added support for automatic arrays as collections using SDNA.

* Changed how pointers to data work. Now they are always wrapped
in a PointerRNA struct, which contains the data pointer and type,
and also the data pointer and type of the ID datablock that this
belongs to, since for example a vertex on it's own may not have
enough information for some operations, it also needs the mesh.

* Added some code for defining dependencies with RNA, and looking up
data with paths like: scenes[0].objects["Cube"].data.verts[7].co.
Note sure either will end up being used, this is experimental.

http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA

Commit Details:

Full Hash: 7e8ba5c84d4d35fe6ee4e3d73d08265ae931e2d3
SVN Revision: 17352
Parent Commit: 21a0e55
Lines Changed: +1423, -396

4 Added Paths:

/source/blender/makesrna/intern/rna_dependency.c (+91, -0) (View)
/source/blender/makesrna/intern/rna_ID.c (+69, -0) (View)
/source/blender/makesrna/intern/rna_main.c (+252, -0) (View)
/source/blender/makesrna/intern/rna_mesh.c (+60, -0) (View)

10 Modified Paths:

/source/blender/makesrna/intern/makesrna.c (+178, -115) (Diff)
/source/blender/makesrna/intern/rna_access.c (+403, -122) (Diff)
/source/blender/makesrna/intern/rna_define.c (+121, -55) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+19, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+49, -7) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+7, -24) (Diff)
/source/blender/makesrna/intern/SConscript (+4, -1) (Diff)
/source/blender/makesrna/RNA_access.h (+70, -29) (Diff)
/source/blender/makesrna/RNA_define.h (+14, -13) (Diff)
/source/blender/makesrna/RNA_types.h (+86, -28) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021