2021-09-07 23:11:42 +02:00
|
|
|
bl_info = {
|
|
|
|
"name": "GP exporter",
|
|
|
|
"description": "Organise export of gp layers through compositor output",
|
|
|
|
"author": "Samuel Bernou",
|
2021-09-10 22:59:52 +02:00
|
|
|
"version": (0, 2, 1),
|
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-10 18:26:55 +02:00
|
|
|
from . import OP_number_outputs
|
2021-09-07 23:11:42 +02:00
|
|
|
from . import ui
|
|
|
|
|
|
|
|
import bpy
|
|
|
|
|
|
|
|
def register():
|
|
|
|
if bpy.app.background:
|
|
|
|
return
|
|
|
|
|
|
|
|
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-10 18:26:55 +02:00
|
|
|
OP_number_outputs.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-10 18:26:55 +02:00
|
|
|
OP_number_outputs.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()
|
|
|
|
|
|
|
|
# del bpy.types.Scene.pgroup_name
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
register()
|