From 428dff7eaa1c1c2476b58d11268f40336964b6bc Mon Sep 17 00:00:00 2001 From: Mike Goslin Date: Tue, 6 Mar 2001 18:20:06 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/interval/SoundInterval.py | 4 ---- direct/src/interval/Track.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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)