2021-09-07 23:11:42 +02:00
|
|
|
bl_info = {
|
2021-09-16 12:22:11 +02:00
|
|
|
"name": "GP Render",
|
2021-09-07 23:11:42 +02:00
|
|
|
"description": "Organise export of gp layers through compositor output",
|
|
|
|
"author": "Samuel Bernou",
|
2021-10-08 17:01:33 +02:00
|
|
|
"version": (0, 5, 4),
|
2021-09-07 23:11:42 +02:00
|
|
|
"blender": (2, 93, 0),
|
|
|
|
"location": "View3D",
|
|
|
|
"warning": "",
|
|
|
|
"doc_url": "",
|
|
|
|
"category": "Object" }
|
|
|
|
|
|
|
|
|
|
|
|
from . import OP_add_layer
|
2021-09-08 18:29:10 +02:00
|
|
|
from . import OP_merge_layers
|
2021-09-07 23:11:42 +02:00
|
|
|
from . import OP_clear
|
2021-09-10 18:26:55 +02:00
|
|
|
from . import OP_clean
|
|
|
|
from . import OP_connect_toggle
|
2021-09-08 18:29:10 +02:00
|
|
|
from . import OP_manage_outputs
|
2021-09-14 18:54:30 +02:00
|
|
|
from . import OP_scene_switch
|
2021-09-30 18:51:49 +02:00
|
|
|
from . import OP_crop_to_object
|
|
|
|
from . import OP_render_scenes
|
2021-09-17 16:31:26 +02:00
|
|
|
# from . import OP_check_layer_status
|
2021-09-24 18:36:58 +02:00
|
|
|
from . import OP_render_pdf
|
|
|
|
from . import prefs
|
2021-09-17 16:31:26 +02:00
|
|
|
from . import OP_setup_layers
|
2021-09-07 23:11:42 +02:00
|
|
|
from . import ui
|
|
|
|
|
|
|
|
import bpy
|
|
|
|
|
|
|
|
def register():
|
|
|
|
if bpy.app.background:
|
|
|
|
return
|
|
|
|
|
2021-09-24 18:36:58 +02:00
|
|
|
prefs.register()
|
2021-09-07 23:11:42 +02:00
|
|
|
OP_add_layer.register()
|
|
|
|
OP_clear.register()
|
2021-09-10 18:26:55 +02:00
|
|
|
OP_clean.register()
|
|
|
|
OP_connect_toggle.register()
|
2021-09-08 18:29:10 +02:00
|
|
|
OP_merge_layers.register()
|
|
|
|
OP_manage_outputs.register()
|
2021-09-14 18:54:30 +02:00
|
|
|
OP_scene_switch.register()
|
2021-09-30 18:51:49 +02:00
|
|
|
OP_crop_to_object.register()
|
|
|
|
OP_render_scenes.register()
|
2021-09-17 16:31:26 +02:00
|
|
|
# OP_check_layer_status.register()
|
2021-09-24 18:36:58 +02:00
|
|
|
OP_render_pdf.register()
|
2021-09-17 16:31:26 +02:00
|
|
|
OP_setup_layers.register()
|
2021-09-07 23:11:42 +02:00
|
|
|
ui.register()
|
|
|
|
# bpy.types.Scene.pgroup_name = bpy.props.PointerProperty(type = PROJ_PGT_settings)
|
|
|
|
|
|
|
|
def unregister():
|
|
|
|
if bpy.app.background:
|
|
|
|
return
|
|
|
|
|
|
|
|
ui.unregister()
|
2021-09-17 16:31:26 +02:00
|
|
|
OP_setup_layers.unregister()
|
|
|
|
# OP_check_layer_status.unregister()
|
2021-09-24 18:36:58 +02:00
|
|
|
OP_render_pdf.unregister()
|
2021-09-30 18:51:49 +02:00
|
|
|
OP_render_scenes.unregister()
|
|
|
|
OP_crop_to_object.unregister()
|
2021-09-14 18:54:30 +02:00
|
|
|
OP_scene_switch.unregister()
|
2021-09-08 18:29:10 +02:00
|
|
|
OP_manage_outputs.unregister()
|
|
|
|
OP_merge_layers.unregister()
|
2021-09-10 18:26:55 +02:00
|
|
|
OP_connect_toggle.unregister()
|
|
|
|
OP_clean.unregister()
|
2021-09-07 23:11:42 +02:00
|
|
|
OP_clear.unregister()
|
|
|
|
OP_add_layer.unregister()
|
2021-09-24 18:36:58 +02:00
|
|
|
prefs.unregister()
|
2021-09-07 23:11:42 +02:00
|
|
|
|
|
|
|
# del bpy.types.Scene.pgroup_name
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
register()
|