mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
*** empty log message ***
This commit is contained in:
parent
19be85d57b
commit
428dff7eaa
@ -14,10 +14,6 @@ class SoundInterval(Interval):
|
|||||||
"""
|
"""
|
||||||
self.sound = sound
|
self.sound = sound
|
||||||
duration = self.sound.length()
|
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.loop = loop
|
||||||
self.isPlaying = 0
|
self.isPlaying = 0
|
||||||
if (name == None):
|
if (name == None):
|
||||||
|
@ -140,7 +140,7 @@ class Track(Interval):
|
|||||||
ival.setT(tc, entry=1)
|
ival.setT(tc, entry=1)
|
||||||
self.currentInterval = ival
|
self.currentInterval = ival
|
||||||
else:
|
else:
|
||||||
ival.setT(tc)
|
ival.setT(tc)
|
||||||
|
|
||||||
def printParams(self, indent=0):
|
def printParams(self, indent=0):
|
||||||
""" printParams(indent)
|
""" printParams(indent)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user