Blender Git Loki

Git Commits -> Revision c6da2a5

Revision c6da2a5 by Brecht Van Lommel (master)
November 21, 2008, 19:14 (GMT)
RNA

* Added RNA for operators. This still uses ID properties internally,
but through the RNA API now. The OP_get/set_* API that was used is
replaced by the RNA API. Currently RNA properties for operators are
defined at runtime since it means operator registration can be done
in a single function.
* Changed the existing operators to use this system, I haven't defined
user interface names yet though. I also think there need to be some
conventions on which properties to expose to make these operators
usable in macros, for example if mouse coordinates should be stored
or not.
* When using ID properties through defined RNA properties, it now
checks that the ID property actually matches the RNA property and
removes/overwrites it otherwise. This ensures that you can safely
get/set arrays for example without having to worry that some
external thing may have changed the length.
* Documentation now has some information on RNA + ID properties.

http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA

Commit Details:

Full Hash: c6da2a59d88a75d00890de5ae1d79408e7f9f906
SVN Revision: 17531
Parent Commit: 1295852
Lines Changed: +177, -107

16 Modified Paths:

/source/blender/editors/screen/Makefile (+1, -0) (Diff)
/source/blender/editors/screen/SConscript (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+58, -29) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+3, -0) (Diff)
/source/blender/editors/space_time/Makefile (+1, -0) (Diff)
/source/blender/editors/space_time/SConscript (+2, -1) (Diff)
/source/blender/editors/space_time/time_ops.c (+11, -7) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+5, -2) (Diff)
/source/blender/makesrna/intern/rna_access.c (+57, -2) (Diff)
/source/blender/windowmanager/intern/Makefile (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+17, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+6, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+9, -4) (Diff)
/source/blender/windowmanager/SConscript (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -60) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021