diff --git a/direct/src/interval/SoundInterval.py b/direct/src/interval/SoundInterval.py index da2d99ac54..acb6c6231e 100644 --- a/direct/src/interval/SoundInterval.py +++ b/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