export comments in spreadsheet
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user