nutti / Screencast-Keys

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

Not working in blender 4.0 #183

Closed roosaramendis closed 12 months ago

roosaramendis commented 12 months ago

System Information

Description about the bug**

giving an error when enable addon(when click on screencast key check box in N panel ) and when starting blender. this problem only having for blender 4.0. it works fine on older versions

Python: Traceback (most recent call last): File "C:\Users\mendis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\screencast_keys\ops.py", line 1872, in modal

Add timer to all windows.

File "C:\Users\mendis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\screencast_keys\ops.py", line 1085, in find_redraw_regions if intersect_aabb(region_min, region_max, File "C:\Users\mendis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\screencast_keys\ops.py", line 1047, in draw_area_rect ymin = region.y File "C:\Users\mendis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\screencast_keys\ops.py", line 761, in get_origin continue File "C:\Users\mendis\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\screencast_keys\ops.py", line 1009, in draw_area_size draw_area_width += \ TypeError: blf.size() takes exactly 2 arguments (3 given)

Screenshots/Files [Optional]

Screenshot 2023-10-21 103730 Screenshot 2023-10-21 103816

nutti commented 12 months ago

Duplicate of https://github.com/nutti/Screencast-Keys/issues/177. This issue has already fixed.

If you tried the fixed version, please install unstable version for a while. https://github.com/nutti/Screencast-Keys/blob/master/docs/installation.md