Jelajahi Sumber

*** empty log message ***

Mike Goslin 24 tahun lalu
induk
melakukan
88a23c4d35
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      direct/src/interval/SoundInterval.py

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

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