added layout attribute for setting the operator execution context.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 9 Jun 2009 10:30:11 +0000 (10:30 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 9 Jun 2009 10:30:11 +0000 (10:30 +0000)
commitd36a1b4f06698bcf031f06f7f289ca4636f42c88
treef8512bb7abf71c8c1be115fe9cbaf33460be4cf7
parenta0ea138d31cfe90412a22a6a941acfa4ba7976a3
added layout attribute for setting the operator execution context.
eg, layout.operator_context = 'INVOKE_REGION_WIN'

Needed to set the context that menu item operators are executed in.

fixed missing NULL check with anim system debug printing.
release/ui/space_sequencer.py
source/blender/editors/animation/keyframing.c
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_layout.c
source/blender/makesrna/intern/rna_ui.c
source/blender/windowmanager/WM_types.h