mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -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.
|
||||
soundList = [soundPath]
|
||||
gotList = False
|
||||
elif isinstance(soundPath, MovieAudio):
|
||||
soundList = [soundPath]
|
||||
gotList = False
|
||||
else:
|
||||
# Assume we were given a list of sound pathnames.
|
||||
soundList = soundPath
|
||||
|
Loading…
x
Reference in New Issue
Block a user