21 lines
482 B
Python
21 lines
482 B
Python
import bpy
|
|
|
|
from .operator_protools_export import SendToProTools
|
|
|
|
|
|
def export_pt_menu_callback(self, _):
|
|
layout = self.layout
|
|
layout.separator()
|
|
layout.operator(SendToProTools.bl_idname, text="Send to Pro Tools")
|
|
|
|
|
|
def register():
|
|
bpy.utils.register_class(SendToProTools)
|
|
bpy.types.VIEW3D_MT_object.append(export_pt_menu_callback)
|
|
|
|
|
|
def unregister():
|
|
bpy.utils.unregister_class(SendToProTools)
|
|
bpy.types.VIEW3D_MT_object.remove(export_pt_menu_callback)
|
|
|