mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
6027a40cf9
commit
b39d6a059b
@ -32,6 +32,8 @@ class SoundInterval(Interval):
|
|||||||
if duration == 0.0:
|
if duration == 0.0:
|
||||||
if self.wantSound:
|
if self.wantSound:
|
||||||
duration = self.sound.length()
|
duration = self.sound.length()
|
||||||
|
if (duration == 0):
|
||||||
|
self.notify.warning('zero length duration!')
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user