diff --git a/src/screencast_keys/ops.py b/src/screencast_keys/ops.py index b3ffaf5..92605f2 100644 --- a/src/screencast_keys/ops.py +++ b/src/screencast_keys/ops.py @@ -1501,7 +1501,7 @@ def check_draw_status(cls, context, font_id, layer_name, calc_fn, # extensions.blender.org: Delete block start @staticmethod - def _do_auto_save_before_v41(): + def do_auto_save_before_v41(): do_auto_save = False for w in bpy.context.window_manager.windows: window = cast( @@ -1527,7 +1527,7 @@ def _do_auto_save_before_v41(): # extensions.blender.org: Delete block end @staticmethod - def _do_auto_save_after_v42(): + def do_auto_save_after_v42(): do_auto_save = False wm = bpy.context.window_manager for window in wm.windows: @@ -1564,9 +1564,9 @@ def auto_save(_): # Perform auto save only if the modal operator is executed from # Screencast Keys. if compat.check_version(4, 2, 0) < 0: - do_auto_save = cls._do_auto_save_before_v41() + do_auto_save = cls.do_auto_save_before_v41() else: - do_auto_save = cls._do_auto_save_after_v42() + do_auto_save = cls.do_auto_save_after_v42() if do_auto_save is None: return diff --git a/src/screencast_keys/ui.py b/src/screencast_keys/ui.py index 595066a..f03de78 100644 --- a/src/screencast_keys/ui.py +++ b/src/screencast_keys/ui.py @@ -22,7 +22,6 @@ import bpy from .ops import show_mouse_hold_status -from .utils import compatibility as compat class SK_PT_ScreencastKeys(bpy.types.Panel):