RNA C++ API improvements
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 22 Oct 2012 17:34:16 +0000 (17:34 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 22 Oct 2012 17:34:16 +0000 (17:34 +0000)
commit8a2c30ac57ff5739a6ccbbdcbaa3f63c1438588b
tree664ed17dbefb01325f1cf0d8300a779950f50ee8
parent3285d47842657161b2206ccb2b29f34ef51eab99
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()
intern/cycles/blender/blender_session.cpp
intern/cycles/blender/blender_util.h
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_color.c
source/blender/makesrna/intern/rna_internal.h
source/blender/makesrna/intern/rna_main_api.c
source/blender/makesrna/intern/rna_object_api.c
source/blender/makesrna/intern/rna_render.c
source/blender/makesrna/intern/rna_scene_api.c