add template

This commit is contained in:
Christophe SEUX
2023-05-05 16:54:00 +02:00
parent 1ff1b37adb
commit 87614f9895
5 changed files with 126 additions and 8 deletions
+2
View File
@@ -286,6 +286,7 @@ class VSETB_OT_upload_to_tracker(Operator):
col.separator()
col.prop(self, 'casting', text='Casting')
col.prop(self, 'custom_data', text='Custom Data')
col.prop(self, 'set_main_preview', text='Set Main Preview')
def execute(self, context):
#self.report({'ERROR'}, f'Export not implemented yet.')
@@ -345,6 +346,7 @@ class VSETB_OT_upload_to_tracker(Operator):
if status or preview:
tracker.new_comment(task, comment=self.comment, status=status, preview=preview, set_main_preview=self.set_main_preview)
if self.custom_data:
metadata = strip.vsetb_strip_settings.metadata.to_dict()
description = strip.vsetb_strip_settings.description