summaryrefslogtreecommitdiff
path: root/src/mapdata.py
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-11-12 03:52:54 +0100
committerTreeki <treeki@gmail.com>2011-11-12 03:52:54 +0100
commit2fda919ba6e30b04de8334404ad34d1a42254c7e (patch)
tree2cc83aa5aaf2d56a4a1a06a65a4fcec2578259cc /src/mapdata.py
parentaed27a87565f3ec0ac576bab0dc500890ac2d645 (diff)
downloadkoopatlas-2fda919ba6e30b04de8334404ad34d1a42254c7e.tar.gz
koopatlas-2fda919ba6e30b04de8334404ad34d1a42254c7e.zip
added resizing while painting objects and fixed a few bugs
Diffstat (limited to '')
-rw-r--r--src/mapdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapdata.py b/src/mapdata.py
index f8ededd..67103d9 100644
--- a/src/mapdata.py
+++ b/src/mapdata.py
@@ -14,7 +14,7 @@ class KPObject(object):
self.qtItem = None
def updateCache(self):
- self.cache = KP.map.loadedTilesets[self.tileset].objects[self.kind].render(self.size)
+ self.cache = self.kind.render(self.size)
class KPLayer(object):