Fix T54076: MCE in Graph mode - clip.graph_select_border does not work by header menu

While the script should be using INVOKE_PREVIEW for operators in clip view,
window manager was lacking some switch statements.

Thanks Brecht fore review!
This commit is contained in:
Sergey Sharybin 2018-02-15 16:56:49 +01:00
parent 2aef87bfae
commit b879502da4
Notes: blender-bot 2023-02-14 07:45:38 +01:00
Referenced by issue #54076, Movie Clip Editor in Graph mode - clip.graph_select_border does not work by header menu
1 changed files with 2 additions and 0 deletions

View File

@ -1279,6 +1279,8 @@ static int wm_operator_call_internal(
switch (context) {
case WM_OP_INVOKE_DEFAULT:
case WM_OP_INVOKE_REGION_WIN:
case WM_OP_INVOKE_REGION_PREVIEW:
case WM_OP_INVOKE_REGION_CHANNELS:
case WM_OP_INVOKE_AREA:
case WM_OP_INVOKE_SCREEN:
/* window is needed for invoke, cancel operator */