Fix T96712: Debug Assert with PrintScrn & ScrollLock keys
Caused by 08d8eee006
.
This commit is contained in:
parent
94b2d83421
commit
ad370868a2
Notes:
blender-bot
2023-02-14 06:19:41 +01:00
Referenced by issue #96712, Debug Assert with PrintScrn & ScrollLock keys
|
@ -4865,7 +4865,7 @@ static void wm_event_state_update_and_click_set(const GHOST_TEventType type,
|
|||
wmEvent *event,
|
||||
wmEvent *event_state)
|
||||
{
|
||||
BLI_assert(ISKEYBOARD_OR_BUTTON(event->type));
|
||||
BLI_assert(ISKEYBOARD_OR_BUTTON(event->type) || (event->type == EVENT_NONE));
|
||||
BLI_assert(ELEM(event->val, KM_PRESS, KM_RELEASE));
|
||||
|
||||
/* Only copy these flags into the `event_state`. */
|
||||
|
|
Loading…
Reference in New Issue