diff --git a/multi_user/timers.py b/multi_user/timers.py index 62d8a6d..6d8ca81 100644 --- a/multi_user/timers.py +++ b/multi_user/timers.py @@ -41,7 +41,8 @@ this.registry = dict() def is_annotating(context: bpy.types.Context): """ Check if the annotate mode is enabled """ - return bpy.context.workspace.tools.from_space_view3d_mode('OBJECT', create=False).idname == 'builtin.annotate' + active_tool = bpy.context.workspace.tools.from_space_view3d_mode('OBJECT', create=False) + return (active_tool and active_tool.idname == 'builtin.annotate') class Timer(object):