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 501bca9f5b
commit 6abf63f463

View File

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