Fix T75292: File-select events not handled while modal handler is active

Reviewers: Severin

Differential Revision: https://developer.blender.org/D7720
This commit is contained in:
2020-05-18 11:59:02 +02:00
parent 008e964940
commit b75ce05c3b

View 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);
}
/** \} */