import spreadsheet
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user