From fcb41afd316b0ff98686d2d457ac66f44681ccd7 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 12 Dec 2003 05:13:20 +0000 Subject: [PATCH] remove silly warning --- direct/src/interval/SoundInterval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/interval/SoundInterval.py b/direct/src/interval/SoundInterval.py index 1841b8f657..9b498c0997 100644 --- a/direct/src/interval/SoundInterval.py +++ b/direct/src/interval/SoundInterval.py @@ -35,8 +35,8 @@ class SoundInterval(Interval.Interval): # If no duration given use sound's duration as interval's duration if float(duration) == 0.0 and self.sound != None: duration = max(self.sound.length() - self.startTime, 0) - if (duration == 0): - self.notify.warning('zero length duration!') + #if (duration == 0): + # self.notify.warning('zero length duration!') # MPG - hack for Miles bug #duration += 1.5 # DCR - hack for Miles bug - adding 1.5 seconds caused