This commit is contained in:
Josh Yelon 2007-09-13 21:15:41 +00:00
parent 651513d595
commit b3164e9df6
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@
#
##############################################################################
import os,sys
import os,sys,gc
from pandac.PandaModules import *
class EggCacher:
@ -82,6 +82,7 @@ class EggCacher:
sys.stdout.flush()
if (cached) and (cached.hasData()==0):
self.pandaloader.loadSync(fn, self.loaderopts)
gc.collect()
ModelPool.releaseAllModels()
progress += size