20 lines
450 B
Python
20 lines
450 B
Python
import bpy
|
|
|
|
from .operator_protools_export import ProToolsExport
|
|
|
|
|
|
def export_pt_menu_callback(self, _):
|
|
self.layout.operator(ProToolsExport.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)
|
|
|
|
|
|
def unregister():
|
|
bpy.utils.unregister_class(ProToolsExport)
|
|
|
|
bpy.types.TOPBAR_MT_file_export.remove(export_pt_menu_callback)
|
|
|