From 0445017945666d46a5885d4adb789d4a587ec958 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 18 Sep 2006 19:08:00 +0000 Subject: [PATCH] rename LoaderOptions methods for clarity --- direct/src/showbase/Loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/showbase/Loader.py b/direct/src/showbase/Loader.py index 3bcc5c2d05..d706b49eff 100644 --- a/direct/src/showbase/Loader.py +++ b/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