Fixed a bug where it was not possible to export from markers

This commit is contained in:
Colin Basnett
2023-08-15 15:16:07 -07:00
parent 741357d0af
commit 63fb6f7d09

View File

@@ -358,7 +358,7 @@ class PSA_OT_export(Operator, ExportHelper):
# Ensure that we actually have items that we are going to be exporting. # Ensure that we actually have items that we are going to be exporting.
if pg.sequence_source == 'ACTIONS' and len(pg.action_list) == 0: if pg.sequence_source == 'ACTIONS' and len(pg.action_list) == 0:
raise RuntimeError('No actions were selected for export') raise RuntimeError('No actions were selected for export')
elif pg.sequence_source == 'TIMELINE_MARKERS' and len(pg.marker_names) == 0: elif pg.sequence_source == 'TIMELINE_MARKERS' and len(pg.marker_list) == 0:
raise RuntimeError('No timeline markers were selected for export') raise RuntimeError('No timeline markers were selected for export')
# Populate the export sequence list. # Populate the export sequence list.