Blender Kitsu: Use Background Thread for Kitsu Login #79

Merged
Nick Alberelli merged 6 commits from fix/blender-kitsu-bg-threading into main 2023-06-16 17:44:21 +02:00
Showing only changes of commit ed2c588b52 - Show all commits

View File

@ -22,7 +22,6 @@ from typing import Dict, List, Set, Optional, Tuple, Any
import bpy
import threading
import time
from blender_kitsu import cache, prefs, gazu
@ -35,7 +34,6 @@ logger = LoggerFactory.getLogger()
active_thread = False
class KITSU_OT_session_start(bpy.types.Operator):
"""
Starts the Session, which is stored in blender_kitsu addon preferences.
@ -137,7 +135,6 @@ def auto_login_on_file_open():
if not session.is_auth():
bpy.ops.kitsu.session_start()
# ---------REGISTER ----------.
classes = [