export custom cells fix

pull/5/head
“christopheseux” 2023-05-25 14:20:37 +02:00
parent 9b1c8e0d09
commit 70e1def003
1 changed files with 4 additions and 1 deletions

View File

@ -526,7 +526,10 @@ class VSETB_OT_export_spreadsheet(Operator):
rows = []
# Header
rows.append([cell.export_name for cell in cells])
if spreadsheet.use_custom_cells:
rows.append([cell.export_name for cell in cells])
else:
rows.append([cell.name for cell in cells])
separator = spreadsheet.separator.replace('\\n', '\n').replace('\\t', '\t').replace('\\r', '\r')
delimiter = spreadsheet.delimiter.replace('\\n', '\n').replace('\\t', '\t').replace('\\r', '\r')