Blender Git Loki

Git Commits -> Revision 8a2c30a

Revision 8a2c30a by Sergey Sharybin (master)
October 22, 2012, 17:34 (GMT)
RNA C++ API improvements

Added support of such features, as:

- Ability to call RNA functions using C++ classes
For example RenderEngine.tag_update

- Property setters (for scalars and arrays)
Used Qt/jQuery-like getters/setters style, meaning Class.prop() is a getter,
Class.prop(value) is a setter.

Still to come:

Collection functions are not currently registering inside a property
Meaning BlendData.meshes wouldn't be a subclass of BlendDataMeshes result
you'll need to explicitly create BlendDataMeshes for now instead of doing
BlendData.meshes.remove()

Commit Details:

Full Hash: 8a2c30ac57ff5739a6ccbbdcbaa3f63c1438588b
SVN Revision: 51512
Parent Commit: 3285d47
Lines Changed: +560, -108

9 Modified Paths:

/intern/cycles/blender/blender_session.cpp (+11, -14) (Diff)
/intern/cycles/blender/blender_util.h (+11, -33) (Diff)
/source/blender/makesrna/intern/makesrna.c (+528, -40) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+0, -11) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_render.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021