export comments in spreadsheet

This commit is contained in:
2024-02-15 10:14:25 +01:00
parent c0b944f114
commit 697ead9329
2 changed files with 12 additions and 3 deletions
+4 -2
View File
@@ -580,13 +580,12 @@ class VSETB_OT_export_spreadsheet(Operator):
if cell.type == "METADATA":
row += [getattr(strip.vsetb_strip_settings.metadata, cell.field_name)]
elif cell.type == "ASSET_TYPE":
asset_castings = []
for asset_casting in strip.vsetb_strip_settings.casting:
asset = asset_casting.asset
#print('------------------------')
if not asset:
self.report({"WARNING"}, f"The asset {asset_casting['_name']} is missing on strip {strip.name}")
continue
@@ -605,6 +604,9 @@ class VSETB_OT_export_spreadsheet(Operator):
row += [separator.join(asset_castings)]
elif cell.type == 'TASK_TYPE':
row += [getattr(strip.vsetb_strip_settings.tasks, cell.name).comment]
elif cell.field_name == 'EPISODE':
row += [settings.active_episode.name]
elif cell.field_name == 'SEQUENCE':