[Bf-blender-cvs] [6abf63f463c] master: Fix T85517: Cannot type Space while holding Shift key in text-field like spaces.
Himanshi Kalra
noreply at git.blender.org
Mon Jul 26 09:33:04 CEST 2021
Commit: 6abf63f463cf124eaeb894c7d728550fca54a239
Author: Himanshi Kalra
Date: Mon Jul 26 09:08:38 2021 +0200
Branches: master
https://developer.blender.org/rB6abf63f463cf124eaeb894c7d728550fca54a239
Fix T85517: Cannot type Space while holding Shift key in text-field like spaces.
Fix for T85517
Bug: Couldn't type space while holding down the shift key in text spaces (e.g. when saving a file, changing the name of object).
Changes: Removing the key combination of Shift + space in `WM_event_is_ime_switch` method.
Reviewed By: harley, mont29
Maniphest Tasks: T85517
Differential Revision: https://developer.blender.org/D10452
===================================================================
M source/blender/windowmanager/intern/wm_event_query.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_event_query.c b/source/blender/windowmanager/intern/wm_event_query.c
index 006dc220a56..381284e0d7e 100644
--- a/source/blender/windowmanager/intern/wm_event_query.c
+++ b/source/blender/windowmanager/intern/wm_event_query.c
@@ -491,7 +491,7 @@ int WM_event_absolute_delta_y(const struct wmEvent *event)
bool WM_event_is_ime_switch(const struct wmEvent *event)
{
return event->val == KM_PRESS && event->type == EVT_SPACEKEY &&
- (event->ctrl || event->oskey || event->shift || event->alt);
+ (event->ctrl || event->oskey || event->alt);
}
#endif
More information about the Bf-blender-cvs
mailing list