Blender Git Loki
Git Commits -> Revision fb7878a
Revision fb7878a by Martin Poirier (master) January 27, 2010, 21:19 (GMT) |
PROP_ENUM_NO_CONTEXT flag for rna properties, forcing enum item functions to be passed a null context (to return non-contextual items). This is set on keymap item operator properties and macro definition operator properties to make them non-contextual (since the context at definition time is most likely not the same then at execution time, it's better to have all options visible). This removes some more errors in keymap export and import. This commit also sanitize some enum item function, making sure they can cope with null context and have usable defaults in that case. |
Commit Details:
Full Hash: fb7878a2c29338ee706b5add6a9a95b665616725
SVN Revision: 26351
Parent Commit: 86a6589
Lines Changed: +76, -25
11 Modified Paths:
/source/blender/editors/armature/poselib.c (+6, -4) (Diff)
/source/blender/editors/mesh/editmesh_mods.c (+4, -0) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+4, -0) (Diff)
/source/blender/editors/object/object_group.c (+10, -8) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_access.c (+12, -2) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+7, -6) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+27, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blender/editors/mesh/editmesh_mods.c (+4, -0) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+4, -0) (Diff)
/source/blender/editors/object/object_group.c (+10, -8) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_access.c (+12, -2) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+7, -6) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+27, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)