[Bf-blender-cvs] [60a0928f355] blender-v2.93-release: 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:40:30 CEST 2021
Commit: 60a0928f3559f72c8c4b686417ba01004ff996ec
Author: Himanshi Kalra
Date: Mon Jul 26 09:08:38 2021 +0200
Branches: blender-v2.93-release
https://developer.blender.org/rB60a0928f3559f72c8c4b686417ba01004ff996ec
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 3efff20f107..b95bd49c750 100644
--- a/source/blender/windowmanager/intern/wm_event_query.c
+++ b/source/blender/windowmanager/intern/wm_event_query.c
@@ -486,7 +486,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