Blender Kitsu: Refactor Shot Builder #183

Merged
Nick Alberelli merged 55 commits from TinyNick/blender-studio-pipeline:feature/shot-builder-2 into main 2023-12-21 23:58:21 +01:00
5 changed files with 37 additions and 1 deletions
Showing only changes of commit e10eb83758 - Show all commits

View File

@ -24,6 +24,7 @@ dependencies.preload_modules()
from . import (
shot_builder,
shot_builder_2,
lookdev,
bkglobals,
types,
@ -98,6 +99,7 @@ def register():
playblast.register()
anim.register()
shot_builder.register()
shot_builder_2.register()
LoggerLevelManager.configure_levels()
logger.info("Registered blender-kitsu")
@ -116,7 +118,7 @@ def unregister():
lookdev.unregister()
playblast.unregister()
shot_builder.unregister()
shot_builder_2.unregister()
LoggerLevelManager.restore_levels()

View File

@ -0,0 +1,11 @@
from . import ops, ui
def register():
ops.register()
ui.register()
def unregister():
ops.unregister()
ui.unregister()

View File

@ -0,0 +1,11 @@
import bpy
def register():
for cls in classes:
bpy.utils.register_class(cls)
def unregister():
for cls in reversed(classes):
bpy.utils.unregister_class(cls)

View File

@ -0,0 +1,12 @@
import bpy
def register():
for cls in classes:
bpy.utils.register_class(cls)
def unregister():
for cls in reversed(classes):
bpy.utils.unregister_class(cls)