1
0
mirror of synced 2024-11-15 01:47:34 +01:00

parsers.py: Remove dead code from readFumen function

This commit is contained in:
Viv 2023-07-09 17:17:46 -04:00
parent bc21f5a31d
commit 3ebbb678f4

View File

@ -304,12 +304,6 @@ def readFumen(fumenFile, exclude_empty_measures=False):
measure = {}
measure["bpm"] = measureStruct[0]
measure["fumenOffsetStart"] = measureStruct[1]
# if measureNumber == 0:
# measure["offset"] = measure["fumenOffset"] + 240000 / measure["bpm"]
# else:
# prev = song['measures'][measureNumber - 1]
# measure["offset"] = ((prev["offset"] + measure["fumenOffset"] + 240000) /
# (measure["bpm"] - prev["fumenOffset"] - 240000 / prev["bpm"]))
measure["gogo"] = getBool(measureStruct[2])
measure["barline"] = getBool(measureStruct[3])
measure["padding1"] = measureStruct[4]