From b6e5a13e5f0cf7d087a04c41fb3a526c08775421 Mon Sep 17 00:00:00 2001 From: Colin Basnett Date: Tue, 15 Aug 2023 15:16:07 -0700 Subject: [PATCH] Fuxed a bug where it was not possible to export from markers Stupid typo, thanks Python --- io_scene_psk_psa/psa/export/operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_scene_psk_psa/psa/export/operators.py b/io_scene_psk_psa/psa/export/operators.py index a6f1a04..ec0adf5 100644 --- a/io_scene_psk_psa/psa/export/operators.py +++ b/io_scene_psk_psa/psa/export/operators.py @@ -358,7 +358,7 @@ class PSA_OT_export(Operator, ExportHelper): # Ensure that we actually have items that we are going to be exporting. if pg.sequence_source == 'ACTIONS' and len(pg.action_list) == 0: 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') elif pg.sequence_source == 'NLA_TRACK_STRIPS' and len(pg.nla_strip_list) == 0: raise RuntimeError('No NLA track strips were selected for export')