Implementing for ptsl in progress
This commit is contained in:
15
__init__.py
15
__init__.py
@@ -1,19 +1,20 @@
|
||||
import bpy
|
||||
|
||||
from .operator_protools_export import ProToolsExport
|
||||
from .operator_protools_export import SendToProTools
|
||||
|
||||
|
||||
def export_pt_menu_callback(self, _):
|
||||
self.layout.operator(ProToolsExport.bl_idname, text="Send to Pro Tools")
|
||||
layout = self.layout
|
||||
layout.separator()
|
||||
layout.operator(SendToProTools.bl_idname, text="Send to Pro Tools")
|
||||
|
||||
|
||||
def register():
|
||||
bpy.utils.register_class(ProToolsExport)
|
||||
bpy.types.TOPBAR_MT_file_export.append(export_pt_menu_callback)
|
||||
bpy.utils.register_class(SendToProTools)
|
||||
bpy.types.VIEW3D_MT_object.append(export_pt_menu_callback)
|
||||
|
||||
|
||||
def unregister():
|
||||
bpy.utils.unregister_class(ProToolsExport)
|
||||
|
||||
bpy.types.TOPBAR_MT_file_export.remove(export_pt_menu_callback)
|
||||
bpy.utils.unregister_class(SendToProTools)
|
||||
bpy.types.VIEW3D_MT_object.remove(export_pt_menu_callback)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user