Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
428dff7eaa
2 changed files with 1 additions and 5 deletions
  1. 0 4
      direct/src/interval/SoundInterval.py
  2. 1 1
      direct/src/interval/Track.py

+ 0 - 4
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):

+ 1 - 1
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)