nutti / Screencast-Keys

Blender Add-on: Screencast Keys
GNU General Public License v3.0
1.27k stars 112 forks source link

“Caps Lock” keypress causes the addon crash #39

Closed ghost closed 3 years ago

ghost commented 3 years ago

System Information

Expected behavior
Though "Caps Lock" key plays no function in Blender, but its keypress should not cause error.

Description about the bug
When "Caps Lock" key pressed, the addon "Screencast Keys" crash and prompt error msg,

Python: Traceback (most recent call last): File "Z:\blender_2.91\2.91\scripts\addons_contrib\screencastkeys\ops.py", line 587, in modal event_type = EventType[event.type] File "Z:\blender_2.91\2.91\python\lib\enum.py", line 352, in getitem return cls._membermap[name] KeyError: ''

location: :-1

Additional comments [Optional] When addon crashed, deactivate then activate the addon in N-panel will recover from the error.

nutti commented 3 years ago

This issue has already fixed since v3.1. c.f. #7