Blender Git Commit Log

Git Commits -> Revision 1123856

Revision 1123856 by Brecht Van Lommel (master)
January 1, 2009, 20:44 (GMT)
RNA
* Object has some more properties wrapped, mostly game related.
* Scene frame changes now send a notifier.
* Added functions to create/free operator properties for calling
operators. This also simplifies some duplicated code that did
this. Ideally though this kind of thing should use the properties
pointer provided by buttons and keymap items. Example code:

PointerRNA ptr;

WM_operator_properties_create(&ptr, "SOME_OT_name");
RNA_int_set(&ptr, "value", 42);
WM_operator_name_call(C, "SOME_OT_name", WM_OP_EXEC_DEFAULT, &ptr);
WM_operator_properties_free(&ptr);

Commit Details:

Full Hash: 112385660aeefbd503b128c91a3c7fc09d1e6d5a
SVN Revision: 18226
Parent Commit: ddabed9
Lines Changed: +378, -108

19 Modified Paths:

/source/blender/editors/interface/interface.c (+5, -12) (Diff)
/source/blender/editors/interface/interface_handlers.c (+7, -7) (Diff)
/source/blender/editors/space_outliner/outliner.c (+3, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+22, -24) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+263, -20) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+17, -3) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+2, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_operator.c (+4, -7) (Diff)
/source/blender/windowmanager/intern/wm.c (+15, -9) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+7, -8) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+2, -8) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+20, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021