export comments in spreadsheet
This commit is contained in:
+8
-1
@@ -139,7 +139,7 @@ class SpreadsheetExportCell(PropertyGroup):
|
||||
export_name : StringProperty()
|
||||
enabled : BoolProperty(default=True)
|
||||
field_name : StringProperty()
|
||||
type : EnumProperty(items=[(t, t, "") for t in ('METADATA', 'SHOT', 'ASSET_TYPE')])
|
||||
type : EnumProperty(items=[(t, t, "") for t in ('METADATA', 'SHOT', 'ASSET_TYPE', 'TASK_TYPE')])
|
||||
#sort : BoolProperty(default=True)
|
||||
|
||||
|
||||
@@ -346,6 +346,13 @@ class Project(PropertyGroup):
|
||||
cell.field_name = norm_str(asset_type.name, format=str.upper)
|
||||
cell.type = "ASSET_TYPE"
|
||||
|
||||
for task_type in self.task_types:
|
||||
cell = spreadsheet.cells.add()
|
||||
cell.name = task_type.name
|
||||
cell.export_name = task_type.name
|
||||
cell.field_name = norm_str(task_type.name, format=str.upper)
|
||||
cell.type = "TASK_TYPE"
|
||||
|
||||
def set_strip_metadata(self):
|
||||
|
||||
# Clear Metadatas
|
||||
|
||||
Reference in New Issue
Block a user