Skip to content
Snippets Groups Projects
Commit 762cffcf authored by Pablo Vazquez's avatar Pablo Vazquez
Browse files

Screencast Keys Addon:

Update to 2.64, and make the ticker slower to not eat CPUs.
parent 1a507bbd
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ bl_info = { ...@@ -22,7 +22,7 @@ bl_info = {
'name': "Screencast Keys", 'name': "Screencast Keys",
'author': 'Paulo Gomes, Bart Crouch, John E. Herrenyo, Gaia Clary, Pablo Vazquez', 'author': 'Paulo Gomes, Bart Crouch, John E. Herrenyo, Gaia Clary, Pablo Vazquez',
'version': (1, 7), 'version': (1, 7),
'blender': (2, 6, 3), 'blender': (2, 6, 4),
'location': '3D View > Properties Panel > Screencast Keys', 'location': '3D View > Properties Panel > Screencast Keys',
'warning': '', 'warning': '',
'description': 'Display keys pressed in the 3D View, '\ 'description': 'Display keys pressed in the 3D View, '\
...@@ -601,7 +601,7 @@ class ScreencastKeysStatus(bpy.types.Operator): ...@@ -601,7 +601,7 @@ class ScreencastKeysStatus(bpy.types.Operator):
(self, context), 'POST_PIXEL') (self, context), 'POST_PIXEL')
self._handle = context.region.callback_add(draw_callback_px_text, self._handle = context.region.callback_add(draw_callback_px_text,
(self, context), 'POST_PIXEL') (self, context), 'POST_PIXEL')
self._timer = context.window_manager.event_timer_add(0.025, self._timer = context.window_manager.event_timer_add(0.075,
context.window) context.window)
ScreencastKeysStatus.overall_time.insert(0, time.time()) ScreencastKeysStatus.overall_time.insert(0, time.time())
context.window_manager.modal_handler_add(self) context.window_manager.modal_handler_add(self)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment