Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-06-09 14:30:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-06-09 14:30:11 +0400
commitd36a1b4f06698bcf031f06f7f289ca4636f42c88 (patch)
treef8512bb7abf71c8c1be115fe9cbaf33460be4cf7 /source/blender/windowmanager/WM_types.h
parenta0ea138d31cfe90412a22a6a941acfa4ba7976a3 (diff)
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.
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r--source/blender/windowmanager/WM_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 2a68a9980de..739cfbcc1ac 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -44,6 +44,7 @@ struct wmWindowManager;
#define OPTYPE_UNDO 2
/* context to call operator in for WM_operator_name_call */
+/* rna_ui.c contains EnumPropertyItem's of these, keep in sync */
enum {
/* if there's invoke, call it, otherwise exec */
WM_OP_INVOKE_DEFAULT,