Browse Source

rename LoaderOptions methods for clarity

David Rose 19 years ago
parent
commit
0445017945
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/showbase/Loader.py

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

@@ -138,7 +138,7 @@ class Loader(DirectObject):
             cb = Loader.Callback(len(modelList), callback, extraArgs)
             for i in range(len(modelList)):
                 modelPath = modelList[i]
-                if loaderOptions.allowRamCache() and ModelPool.hasModel(modelPath):
+                if loaderOptions.getAllowRamCache() and ModelPool.hasModel(modelPath):
                     # If it's already in the model pool, we won't
                     # bother bouncing the load request through the
                     # thread; and maybe we can just make the callback