mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 20:23:47 -04:00
Added support for MovieAudio to loadSfx
This commit is contained in:
parent
2fc0965ec2
commit
a640847f8f
@ -427,6 +427,9 @@ class Loader(DirectObject):
|
|||||||
# We were given a single sound pathname.
|
# We were given a single sound pathname.
|
||||||
soundList = [soundPath]
|
soundList = [soundPath]
|
||||||
gotList = False
|
gotList = False
|
||||||
|
elif isinstance(soundPath, MovieAudio):
|
||||||
|
soundList = [soundPath]
|
||||||
|
gotList = False
|
||||||
else:
|
else:
|
||||||
# Assume we were given a list of sound pathnames.
|
# Assume we were given a list of sound pathnames.
|
||||||
soundList = soundPath
|
soundList = soundPath
|
||||||
|
Loading…
x
Reference in New Issue
Block a user