Explorar el Código

*** empty log message ***

Mark Mine hace 24 años
padre
commit
d7ed9e318b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      direct/src/interval/Track.py

+ 3 - 0
direct/src/interval/Track.py

@@ -183,6 +183,9 @@ class Track(Interval):
                 # Compare time with each ival's start/end times
                 # Compare time with each ival's start/end times
                 if (t < tStart):
                 if (t < tStart):
                     if (event == IVAL_DONE):
                     if (event == IVAL_DONE):
+                        # This should only happen in cases of floating
+                        # point instability where t is very close to
+                        # but less than tStart
                         ival.setT(ival.getDuration(), event)
                         ival.setT(ival.getDuration(), event)
                     elif (self.prev_t > tStart):
                     elif (self.prev_t > tStart):
                         # We just crossed the start of this interval
                         # We just crossed the start of this interval