nutti / Screencast-Keys

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

Error and Screencast Keys stop being displayed when using measurement tool #36

Closed GesaP closed 4 years ago

GesaP commented 4 years ago

After some actions the Screencast Keys stop being displayed. Confirmed is trying to use the measurement tool, I have seen it in at least one other occasion (though I am not sure which action did this there)

Error says:

Traceback (most recent call last):
  File "C:\Users\MyName\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\screencastkeys\ops.py", line 587, in modal
    event_type = EventType[event.type]
  File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\python\lib\enum.py", line 352, in __getitem__
    return cls._member_map_[name]
KeyError: ''

location: <unknown location>:-1

Blender throws this error and the screencast keys stop being displayed. They start being displayed again after un-ticking and ticking the activation box once.

GesaP commented 4 years ago

Apparently fixed in 3.3. Thanks!