Browse Source

*** empty log message ***

Mike Goslin 24 years ago
parent
commit
b39d6a059b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      direct/src/interval/SoundInterval.py

+ 2 - 0
direct/src/interval/SoundInterval.py

@@ -32,6 +32,8 @@ class SoundInterval(Interval):
         if duration == 0.0:
             if self.wantSound:
                 duration = self.sound.length()
+		if (duration == 0):
+		    self.notify.warning('zero length duration!')
             else:
                 # This will screw up any intervals that base their
                 # time on the duration of this sound interval