Mercurial > fife-parpg
diff engine/extensions/pychan/manager.py @ 140:3fddb45c0304
edited the loaders, images are now loaded only once into memory
author | thebastion@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 28 Sep 2008 11:12:36 +0000 |
parents | 9a1529f9625e |
children | fe7ff4808529 |
line wrap: on
line diff
--- a/engine/extensions/pychan/manager.py Sat Sep 27 23:33:17 2008 +0000 +++ b/engine/extensions/pychan/manager.py Sun Sep 28 11:12:36 2008 +0000 @@ -125,7 +125,7 @@ return style_copy def loadImage(self,filename): - return fife.GuiImage(self.engine.imagePool.addResourceFromFile(filename),self.engine.imagePool) + return fife.GuiImage(self.engine.imagePool.getIndex(filename),self.engine.imagePool) def defaultWidgetAction(self,event): if self.debug: