rename LoaderOptions methods for clarity

This commit is contained in:
David Rose 2006-09-18 19:08:00 +00:00
parent ec042275fe
commit 0445017945
1 changed files with 1 additions and 1 deletions

View File

@ -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