1
0
mirror of synced 2024-11-23 21:20:56 +01:00

converters.py: Add missing barline setting

This commit is contained in:
Viv 2023-06-26 19:11:04 -04:00
parent 26b23ece19
commit 7b8097ef2e

View File

@ -80,7 +80,7 @@ def preprocessTJAMeasures(tja):
else:
measure_cur['pos_end'] = data['pos']
measuresCorrected.append(measure_cur)
measure_cur = {'bpm': currentBPM, 'scroll': currentScroll, 'gogo': currentGogo,
measure_cur = {'bpm': currentBPM, 'scroll': currentScroll, 'gogo': currentGogo, 'barline': currentBarline,
'subdivisions': len(measure['data']), 'pos_start': data['pos'], 'pos_end': 0,
'time_sig': measure['length'], 'data': []}
elif data['type'] == 'scroll':