RNA
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 7 Nov 2008 02:58:25 +0000 (02:58 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 7 Nov 2008 02:58:25 +0000 (02:58 +0000)
commit7e8ba5c84d4d35fe6ee4e3d73d08265ae931e2d3
treec7f1e0e2a0297460e6bdcc1d70f6a45fc8ebdd1e
parent21a0e55c501d9bb02d98ef4987eb83371d1f0ecf
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
14 files changed:
source/blender/makesrna/RNA_access.h
source/blender/makesrna/RNA_define.h
source/blender/makesrna/RNA_types.h
source/blender/makesrna/intern/SConscript
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_ID.c [new file with mode: 0644]
source/blender/makesrna/intern/rna_access.c
source/blender/makesrna/intern/rna_define.c
source/blender/makesrna/intern/rna_dependency.c [new file with mode: 0644]
source/blender/makesrna/intern/rna_internal.h
source/blender/makesrna/intern/rna_main.c [new file with mode: 0644]
source/blender/makesrna/intern/rna_mesh.c [new file with mode: 0644]
source/blender/makesrna/intern/rna_object.c
source/blender/makesrna/intern/rna_scene.c