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
This commit is contained in:
Himanshi Kalra 2021-07-26 09:08:38 +02:00 committed by Jeroen Bakker
parent 59b77cd688
commit 60a0928f35
Notes: blender-bot 2023-02-14 11:42:40 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #85517, Blender File View - can't type space while holding shift key.
1 changed files with 1 additions and 1 deletions

View File

@ -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