Blender Kitsu: Refactor Shot Builder #183
@ -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()
|
||||
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
from . import ops, ui
|
||||
|
||||
|
||||
def register():
|
||||
ops.register()
|
||||
ui.register()
|
||||
|
||||
|
||||
def unregister():
|
||||
ops.unregister()
|
||||
ui.unregister()
|
11
scripts-blender/addons/blender_kitsu/shot_builder_2/ops.py
Normal file
11
scripts-blender/addons/blender_kitsu/shot_builder_2/ops.py
Normal 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)
|
12
scripts-blender/addons/blender_kitsu/shot_builder_2/ui.py
Normal file
12
scripts-blender/addons/blender_kitsu/shot_builder_2/ui.py
Normal 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)
|
Loading…
Reference in New Issue
Block a user