RNA
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 24 Nov 2008 15:51:55 +0000 (15:51 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 24 Nov 2008 15:51:55 +0000 (15:51 +0000)
commit2a8484bc24f0ac31bcc48c96d2ea12c03c257dab
treed4f39e9f940cb9f9ef49191794998463a1185a53
parent0c625e20ad070560ce4ea8fb78096a3119a8357e
RNA
* Disable editable pointers for now, difficult to support well.
* Swap parameters in RNA_access.h functions to make it more
  consistent.
* Rename rna members for operators to wmOperatorType.srna, and
  wmOperator.ptr, to make the distincton a bit clearer.
• Removed the RNA_int_default and similar functions, they're too
  confusing. RNA_property_is_set can still be used to achieve
  the same goal.
* Add functions to create RNA pointers.

Some example code for RNA data access and operator properties:
http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNAExampleCode
16 files changed:
source/blender/editors/interface/interface.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_outliner/space_outliner.c
source/blender/editors/space_time/time_ops.c
source/blender/makesdna/DNA_windowmanager_types.h
source/blender/makesrna/RNA_access.h
source/blender/makesrna/RNA_types.h
source/blender/makesrna/intern/SConscript
source/blender/makesrna/intern/rna_access.c
source/blender/makesrna/intern/rna_define.c
source/blender/makesrna/intern/rna_dependency.c
source/blender/makesrna/intern/rna_internal.h
source/blender/makesrna/intern/rna_wm.c
source/blender/windowmanager/intern/wm.c
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/intern/wm_operators.c