Browse Source

Fix bug: loadSound should respect positional parameter

rdb 11 years ago
parent
commit
aa2c240336
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/Loader.py

+ 1 - 1
direct/src/showbase/Loader.py

@@ -814,7 +814,7 @@ class Loader(DirectObject):
             result = []
             result = []
             for soundPath in soundList:
             for soundPath in soundList:
                 # should return a valid sound obj even if musicMgr is invalid
                 # should return a valid sound obj even if musicMgr is invalid
-                sound = manager.getSound(soundPath)
+                sound = manager.getSound(soundPath, positional)
                 result.append(sound)
                 result.append(sound)
 
 
             if gotList:
             if gotList: