diff options
author | Treeki <treeki@gmail.com> | 2011-11-10 04:18:03 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-11-10 04:18:03 +0100 |
commit | 9d4c8e28b33689750e44b4c1f390caaf5c9b878e (patch) | |
tree | f70ff51930c0c1aa647d9050499358f80a983cee /src/mapdata.py | |
parent | a7655cdfd41c06f8a5ac9b696289ec74bbb4261a (diff) | |
download | koopatlas-9d4c8e28b33689750e44b4c1f390caaf5c9b878e.tar.gz koopatlas-9d4c8e28b33689750e44b4c1f390caaf5c9b878e.zip |
some work on the layer handling
Diffstat (limited to '')
-rw-r--r-- | src/mapdata.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapdata.py b/src/mapdata.py index 2b7a403..3938047 100644 --- a/src/mapdata.py +++ b/src/mapdata.py @@ -11,6 +11,7 @@ class KPObject(object): self.kind = 0 self.cache = [] self.tileset = None + self.qtItem = None def updateCache(self): self.cache = KP.map.tilesets[self.tileset].objects[self.kind].render(self.size) @@ -128,9 +129,9 @@ class KPMap(object): # TESTING CRAP import os.path if os.path.exists('/Users/Tempus'): - self.tilesets['Test'] = {'path': '/Users/Tempus/Dropbox/NEWERsmbw/Test2.arc'} + self.tilesets['Test'] = {'path': '/Users/Tempus/Dropbox/NEWERsmbw/Test3.arc'} else: - self.tilesets['Test'] = {'path': '/home/me/Dropbox/NEWERsmbw/Test2.arc'} + self.tilesets['Test'] = {'path': '/home/me/Dropbox/NEWERsmbw/Test3.arc'} self.reloadTileset('Test') |