Blender Kitsu: Fix Gazu Module out of sync #119

Merged
Nick Alberelli merged 11 commits from :fix/restore-gazu-out-of-sync into main 2023-07-13 19:39:30 +02:00
5 changed files with 16 additions and 9 deletions
Showing only changes of commit 6e0f21042d - Show all commits

View File

@ -22,8 +22,8 @@ from typing import Dict, List, Set, Optional, Tuple, Any
import bpy
import threading
from blender_kitsu import cache, prefs, gazu
import gazu
from blender_kitsu import cache, prefs
# TODO: restructure this to not access ops_playblast_data.
from blender_kitsu.playblast import opsdata as ops_playblast_data
@ -34,6 +34,7 @@ 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.
@ -135,6 +136,7 @@ def auto_login_on_file_open():
if not session.is_auth():
bpy.ops.kitsu.session_start()
# ---------REGISTER ----------.
classes = [

View File

@ -1,7 +1,8 @@
import bpy
from typing import Set
from blender_kitsu.shot_builder.editorial.core import editorial_export_get_latest
from blender_kitsu import cache, gazu
from blender_kitsu import cache
import gazu
class ANIM_SETUP_OT_load_latest_editorial(bpy.types.Operator):

View File

@ -20,12 +20,16 @@
import pathlib
from typing import *
import bpy
import gazu
from blender_kitsu.shot_builder.shot import ShotRef
from blender_kitsu.shot_builder.project import ensure_loaded_production, get_active_production
from blender_kitsu.shot_builder.project import (
ensure_loaded_production,
get_active_production,
)
from blender_kitsu.shot_builder.builder import ShotBuilder
from blender_kitsu.shot_builder.task_type import TaskType
from blender_kitsu import prefs, cache, gazu
from blender_kitsu.shot_builder.anim_setup.core import animation_workspace_delete_others, animation_workspace_vse_area_add
from blender_kitsu import prefs, cache
from blender_kitsu.shot_builder.anim_setup.core import (
from blender_kitsu.shot_builder.editorial.core import editorial_export_get_latest
from blender_kitsu.shot_builder.builder.save_file import save_shot_builder_file

View File

@ -22,7 +22,7 @@ from typing import Optional
import bpy
from blender_kitsu import gazu
import gazu
from blender_kitsu.types import Sequence, Project, Shot, Cache
from blender_kitsu.logger import LoggerFactory

View File

@ -22,8 +22,8 @@ from typing import Dict, List, Set, Optional, Tuple, Any
from blender_kitsu import tasks
import bpy
from blender_kitsu import cache, prefs, gazu, util
import gazu
from blender_kitsu import cache, prefs, util
from blender_kitsu.tasks import opsdata
from blender_kitsu.logger import LoggerFactory