Blender Git Loki

Git Commits -> Revision 4cd24cf

Revision 4cd24cf by Brecht Van Lommel (master)
June 18, 2009, 19:48 (GMT)
RNA

Merging changes made by Arystanbek in the soc-2009-kazanbas branch,
plus some things modified and added by me.

* The API files now all in the makesrna module, convention is to
call them e.g. rna_mesh_api.c for rna_mesh.c. Note for visual
studio build maintainers, the rna_*_api.c files are compiled as
part of "makesrna", but do not have rna_*_gen.c generated as part
of the library. SCons/cmake/make were updated.

* Added function flags FUNC_USE_CONTEXT and FUNC_USE_REPORTS, to
allow RNA functions to get context and error reporting parameters
optionally. Renamed FUNC_TYPESTATIC to FUNC_NO_SELF.

* RNA collections now have a pointer to add/remove FunctionRNA's, this
isn't actually used anywhere yet, purpose is to make an alias
main.meshes.add() for main.add_mesh() in python.

* Fixes to make autogenerating property set/get for multidimensional
arrays work, though a 4x4 matrix will be exposed as a length 16
one dimensional RNA array.

* Functions and properties added:
* Main.add_mesh()
* Main.remove_mesh()
* Object.matrix
* Object.create_render_mesh()
* WindowManager.add_fileselect()

Commit Details:

Full Hash: 4cd24cf05809557e0d620dccf1f19a570784f6fe
SVN Revision: 20990
Parent Commit: 89d2559
Lines Changed: +839, -431

5 Added Paths:

/source/blender/makesrna/intern/rna_main_api.c (+81, -0) (View)
/source/blender/makesrna/intern/rna_mesh_api.c (+108, -0) (View)
/source/blender/makesrna/intern/rna_object_api.c (+83, -0) (View)
/source/blender/makesrna/intern/rna_ui_api.c (+251, -0) (View)
/source/blender/makesrna/intern/rna_wm_api.c (+56, -0) (View)

1 Deleted Path:

/source/blender/editors/interface/interface_api.c (+0, -245)

29 Modified Paths:

/source/blender/editors/space_script/space_script.c (+2, -19) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+2, -1) (Diff)
/source/blender/makesrna/intern/Makefile (+3, -20) (Diff)
/source/blender/makesrna/intern/makesrna.c (+127, -76) (Diff)
/source/blender/makesrna/intern/rna_access.c (+36, -14) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+4, -2) (Diff)
/source/blender/makesrna/intern/rna_group.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+0, -6) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_key.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_lattice.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_main.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_material.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+14, -11) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+10, -4) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sequence.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+2, -0) (Diff)
/source/blender/makesrna/intern/SConscript (+5, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+7, -6) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -1) (Diff)
/source/blender/makesrna/RNA_types.h (+6, -4) (Diff)
/source/blender/python/CMakeLists.txt (+4, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+12, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021