Ver Fonte

Fix bug: loadSound should respect positional parameter

rdb há 11 anos atrás
pai
commit
aa2c240336
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      direct/src/showbase/Loader.py

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

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