projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added layout attribute for setting the operator execution context.
[blender.git]
/
release
/
ui
/
space_sequencer.py
diff --git
a/release/ui/space_sequencer.py
b/release/ui/space_sequencer.py
index 01583e578ab1a1ca6dfe99d06a4c2a6c0fb5a05d..2c599fd96cdc2d12b3f9b41a4e79d8bda55002d4 100644
(file)
--- 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
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")
layout.column()
layout.item_enumO("TFM_OT_transform", "mode", 'TRANSLATION', text="Grab/Move")