Browse Source

Changed an init value that prevented function intervals which, if appeared
first in a track, didn't get played.

Justin Butler 24 years ago
parent
commit
ecc2c11600
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/interval/Interval.py

+ 1 - 1
direct/src/interval/Interval.py

@@ -27,7 +27,7 @@ class Interval(DirectObject):
         self.name = name
         self.duration = duration
         self.curr_t = 0.0
-        self.prev_t = 0.0
+        self.prev_t = -1
         self.stopEventList = []
         self.setTHooks = []
         # Set true if interval responds to setT(t): t>duration