import task comment from spreadsheet
parent
f1e9d1b2cb
commit
32d8ed626b
|
@ -419,6 +419,11 @@ class VSETB_OT_import_spreadsheet(Operator):
|
||||||
elif cell_type == 'METADATA' and spreadsheet.import_custom_data:
|
elif cell_type == 'METADATA' and spreadsheet.import_custom_data:
|
||||||
metadata = project.metadata_types[cell.import_name]
|
metadata = project.metadata_types[cell.import_name]
|
||||||
setattr(strip_settings.metadata, metadata.field_name, cell_value)
|
setattr(strip_settings.metadata, metadata.field_name, cell_value)
|
||||||
|
|
||||||
|
elif cell_type == 'TASK_TYPE':
|
||||||
|
task_type = project.task_types[cell.import_name]
|
||||||
|
task = getattr(strip_settings.tasks, task_type.name)
|
||||||
|
task.comment = cell_value
|
||||||
|
|
||||||
if cell_type == 'ASSET_TYPE' and spreadsheet.import_casting:
|
if cell_type == 'ASSET_TYPE' and spreadsheet.import_casting:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue