gp_render/__init__.py

57 lines
1.3 KiB
Python

bl_info = {
"name": "GP exporter",
"description": "Organise export of gp layers through compositor output",
"author": "Samuel Bernou",
"version": (0, 2, 3),
"blender": (2, 93, 0),
"location": "View3D",
"warning": "",
"doc_url": "",
"category": "Object" }
from . import OP_add_layer
from . import OP_merge_layers
from . import OP_clear
from . import OP_clean
from . import OP_connect_toggle
from . import OP_manage_outputs
from . import OP_number_outputs
from . import OP_scene_switch
from . import ui
import bpy
def register():
if bpy.app.background:
return
OP_add_layer.register()
OP_clear.register()
OP_clean.register()
OP_connect_toggle.register()
OP_merge_layers.register()
OP_manage_outputs.register()
OP_number_outputs.register()
OP_scene_switch.register()
ui.register()
# bpy.types.Scene.pgroup_name = bpy.props.PointerProperty(type = PROJ_PGT_settings)
def unregister():
if bpy.app.background:
return
ui.unregister()
OP_scene_switch.unregister()
OP_number_outputs.unregister()
OP_manage_outputs.unregister()
OP_merge_layers.unregister()
OP_connect_toggle.unregister()
OP_clean.unregister()
OP_clear.unregister()
OP_add_layer.unregister()
# del bpy.types.Scene.pgroup_name
if __name__ == "__main__":
register()