diff --git a/direct/src/interval/SoundInterval.py b/direct/src/interval/SoundInterval.py index 782e2eb45f..1eb8f66b69 100644 --- a/direct/src/interval/SoundInterval.py +++ b/direct/src/interval/SoundInterval.py @@ -14,10 +14,6 @@ class SoundInterval(Interval): """ self.sound = sound duration = self.sound.length() - if (duration == 0.0): - Interval.notify.warning( - 'SoundInterval(): zero length sound - setting duration = 1.0') - duration = 1.0 self.loop = loop self.isPlaying = 0 if (name == None): diff --git a/direct/src/interval/Track.py b/direct/src/interval/Track.py index c353f3ab5f..b4df51bb0f 100644 --- a/direct/src/interval/Track.py +++ b/direct/src/interval/Track.py @@ -140,7 +140,7 @@ class Track(Interval): ival.setT(tc, entry=1) self.currentInterval = ival else: - ival.setT(tc) + ival.setT(tc) def printParams(self, indent=0): """ printParams(indent)