Mercurial > fife-parpg
diff engine/extensions/loaders.py @ 10:ab09325f901e
Camera was attached to instance on a different layer, resulting in strange scrolling. Fixed it, and added a check to prevent this happening again (attach-to-other-layer fails and logs a warning).
author | jwt@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 06 Jul 2008 17:13:06 +0000 |
parents | 4a0efb7baf70 |
children | 5e85737281bc |
line wrap: on
line diff
--- a/engine/extensions/loaders.py Sun Jul 06 10:12:17 2008 +0000 +++ b/engine/extensions/loaders.py Sun Jul 06 17:13:06 2008 +0000 @@ -21,9 +21,11 @@ res = object_loader.loadResource(fife.ResourceLocation(path)) print 'imported object file ' + path except WrongFileType: - print 'ignored non-object file ' + path + pass +# print 'ignored non-object file ' + path except NameClash: - print 'ignored already loaded file ' + path + pass +# print 'ignored already loaded file ' + path return res def loadImportDir(path, engine):