Merge branch 'master' into blender2.8
[blender.git] / source / blender / windowmanager / intern / wm_event_system.c
index b26bbda685578036df4b8c874278e3cc4d9b47aa..3bde9d46df3f8ecefc5afa95f5eea5f728552727 100644 (file)
@@ -1347,6 +1347,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 */