import spreadsheet

This commit is contained in:
“christopheseux”
2023-05-08 18:25:04 +02:00
parent 1ff1b37adb
commit 1ee883957f
7 changed files with 177 additions and 10 deletions
+3 -3
View File
@@ -265,7 +265,7 @@ class Project(PropertyGroup):
project = settings.active_project
cell_types = {}
cell_names = ['Sequence', 'Shot', 'Frames', 'Description']
cell_names = ['Sequence', 'Shot', 'Nb Frames', 'Description']
if project.type == 'TVSHOW':
cell_names.insert(0, 'Episode')
@@ -283,7 +283,7 @@ class Project(PropertyGroup):
def set_spreadsheet(self):
cell_names = ['Sequence', 'Shot', 'Frames', 'Description']
cell_names = ['Sequence', 'Shot', 'Nb Frames', 'Description']
if self.type == 'TVSHOW':
cell_names.insert(0, 'Episode')
@@ -418,7 +418,7 @@ class VSETB_UL_spreadsheet_import(UIList):
enabled = False
elif item_type == 'ASSET_TYPE' and not project.spreadsheet_import.import_casting:
enabled = False
elif item.import_name == 'Frames' and not project.spreadsheet_import.update_edit:
elif item.import_name == 'Nb Frames' and not project.spreadsheet_import.update_edit:
enabled = False
layout.enabled = enabled