Fix T75292: File-select events not handled while modal handler is active
authorJacques Lucke <jacques@blender.org>
Mon, 18 May 2020 09:59:02 +0000 (11:59 +0200)
committerJacques Lucke <jacques@blender.org>
Mon, 18 May 2020 09:59:53 +0000 (11:59 +0200)
Reviewers: Severin

Differential Revision: https://developer.blender.org/D7720

source/blender/windowmanager/intern/wm_event_system.c

index 2780183c0414f445fd9dc57168b64abe1bbadaa7..d71b722ddb0424312212c3f76f82236186f9def6 100644 (file)
@@ -563,7 +563,7 @@ void wm_event_do_notifiers(bContext *C)
 static int wm_event_always_pass(const wmEvent *event)
 {
   /* some events we always pass on, to ensure proper communication */
-  return ISTIMER(event->type) || (event->type == WINDEACTIVATE);
+  return ISTIMER(event->type) || (event->type == WINDEACTIVATE) || (event->type == EVT_FILESELECT);
 }
 
 /** \} */