[Bf-blender-cvs] [b75ce05c3b0] blender-v2.83-release: Fix T75292: File-select events not handled while modal handler is active

Jacques Lucke noreply at git.blender.org
Mon May 18 12:01:23 CEST 2020


Commit: b75ce05c3b0f44871236d75713745d8308c852d3
Author: Jacques Lucke
Date:   Mon May 18 11:59:02 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBb75ce05c3b0f44871236d75713745d8308c852d3

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

Reviewers: Severin

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

===================================================================

M	source/blender/windowmanager/intern/wm_event_system.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 2780183c041..d71b722ddb0 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -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);
 }
 
 /** \} */



More information about the Bf-blender-cvs mailing list