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 /release/ui
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 'release/ui')
-rw-r--r--release/ui/space_sequencer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/ui/space_sequencer.py b/release/ui/space_sequencer.py
index 01583e578ab..2c599fd96cd 100644
--- a/release/ui/space_sequencer.py
+++ b/release/ui/space_sequencer.py
@@ -188,7 +188,7 @@ class SEQUENCER_MT_strip(bpy.types.Menu):
layout = self.layout
st = context.space_data
- # uiLayoutSetOperatorContext(layout, WM_OP_INVOKE_REGION_WIN);
+ layout.operator_context = 'INVOKE_REGION_WIN'
layout.column()
layout.item_enumO("TFM_OT_transform", "mode", 'TRANSLATION', text="Grab/Move")