From a640847f8f906cbcda41a54114b275ea0ba104d4 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Thu, 24 Apr 2008 02:03:18 +0000 Subject: [PATCH] Added support for MovieAudio to loadSfx --- direct/src/showbase/Loader.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/showbase/Loader.py b/direct/src/showbase/Loader.py index b528be7994..59743ed28b 100644 --- a/direct/src/showbase/Loader.py +++ b/direct/src/showbase/Loader.py @@ -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