Blender Git Commit Log

Git Commits -> Revision 1b94cb7

Revision 1b94cb7 by Brecht Van Lommel (master)
March 19, 2009, 19:03 (GMT)
Context

* Made it based on string lookups rather than fixed enum, to make
it extensible by python scripts.
* Context callbacks now also have to specify RNA type when returning
pointers or collections. For non-RNA wrapped data, UnknownType can
be used.
* RNA wrapped context. The WM entries are fixed, for data context
only main and scene are defined properties. Other data entries have
to be dynamically looked up.
* I've added some special code in python for the dynamic context
lookups. Tried to hide it behind RNA but didn't find a clean way to
do it yet. Still unused/untested.

* Also minor fix for warning about propertional edit property in
transform code, and fix for usage of operator poll with checking if
it was NULL.

Commit Details:

Full Hash: 1b94cb752ca18aac122b444261e76dc63022f99f
SVN Revision: 19331
Parent Commit: 77e0199
Lines Changed: +268, -190

25 Modified Paths:

/source/blender/blenkernel/BKE_context.h (+20, -44) (Diff)
/source/blender/blenkernel/BKE_screen.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/context.c (+100, -41) (Diff)
/source/blender/editors/interface/interface.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_context.c (+18, -13) (Diff)
/source/blender/editors/screen/screen_intern.h (+1, -1) (Diff)
/source/blender/editors/space_image/space_image.c (+3, -7) (Diff)
/source/blender/editors/space_info/Makefile (+1, -0) (Diff)
/source/blender/editors/space_info/SConscript (+1, -1) (Diff)
/source/blender/editors/space_nla/Makefile (+1, -0) (Diff)
/source/blender/editors/space_nla/SConscript (+1, -1) (Diff)
/source/blender/editors/space_node/space_node.c (+5, -3) (Diff)
/source/blender/editors/space_sound/Makefile (+1, -0) (Diff)
/source/blender/editors/space_sound/SConscript (+1, -1) (Diff)
/source/blender/editors/space_text/space_text.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+47, -37) (Diff)
/source/blender/editors/transform/transform_ops.c (+1, -2) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+18, -26) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+2, -6) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+6, -1) (Diff)
/source/blender/python/intern/bpy_rna.c (+30, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021