Browse Source

Loader: fix passing a tuple to loader.loadModel

rdb 6 years ago
parent
commit
2575c01261
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/Loader.py

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

@@ -230,7 +230,7 @@ class Loader(DirectObject):
 
         """
 
-        assert Loader.notify.debug("Loading model: %s" % (modelPath))
+        assert Loader.notify.debug("Loading model: %s" % (modelPath,))
         if loaderOptions is None:
             loaderOptions = LoaderOptions()
         else: