From e1d2c70f6ed33a182b418ab7fc2d0f7a072b7e45 Mon Sep 17 00:00:00 2001 From: jamesa08 <79052050+jamesa08@users.noreply.github.com> Date: Wed, 28 Aug 2024 19:44:28 -0400 Subject: [PATCH] add comment to Python for ref --- MIDIAnimator/data_structures/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MIDIAnimator/data_structures/__init__.py b/MIDIAnimator/data_structures/__init__.py index 11ae1eb..3cfe758 100644 --- a/MIDIAnimator/data_structures/__init__.py +++ b/MIDIAnimator/data_structures/__init__.py @@ -104,6 +104,8 @@ def _calculateOffsets(self): """ for noteOnCurve in self.noteOnCurves: + + # This doesn't handle note off curves curveStart, curveEnd = noteOnCurve.range() if self.startFrame is None or curveStart < self.startFrame: self.startFrame = curveStart