Blender Kitsu: Refactor Shot Builder #183
@ -24,6 +24,7 @@ dependencies.preload_modules()
|
|||||||
|
|
||||||
from . import (
|
from . import (
|
||||||
shot_builder,
|
shot_builder,
|
||||||
|
shot_builder_2,
|
||||||
lookdev,
|
lookdev,
|
||||||
bkglobals,
|
bkglobals,
|
||||||
types,
|
types,
|
||||||
@ -98,6 +99,7 @@ def register():
|
|||||||
playblast.register()
|
playblast.register()
|
||||||
anim.register()
|
anim.register()
|
||||||
shot_builder.register()
|
shot_builder.register()
|
||||||
|
shot_builder_2.register()
|
||||||
|
|
||||||
LoggerLevelManager.configure_levels()
|
LoggerLevelManager.configure_levels()
|
||||||
logger.info("Registered blender-kitsu")
|
logger.info("Registered blender-kitsu")
|
||||||
@ -116,7 +118,7 @@ def unregister():
|
|||||||
lookdev.unregister()
|
lookdev.unregister()
|
||||||
playblast.unregister()
|
playblast.unregister()
|
||||||
shot_builder.unregister()
|
shot_builder.unregister()
|
||||||
|
shot_builder_2.unregister()
|
||||||
LoggerLevelManager.restore_levels()
|
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