diff options
author | Treeki <treeki@gmail.com> | 2011-11-09 05:48:51 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-11-09 05:48:51 +0100 |
commit | 02a1d81d760525f515337d2109feba8887aa5edb (patch) | |
tree | 8e0fbf75554e5be33438df83d926f1acb1091228 /src/editorui.py | |
parent | 8b93220d09adc6a56c9b0a7bfa3a9084e03ce25f (diff) | |
download | koopatlas-02a1d81d760525f515337d2109feba8887aa5edb.tar.gz koopatlas-02a1d81d760525f515337d2109feba8887aa5edb.zip |
a bunch of incomplete stuff
Diffstat (limited to 'src/editorui.py')
-rw-r--r-- | src/editorui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editorui.py b/src/editorui.py index 7f2a7f7..51b148d 100644 --- a/src/editorui.py +++ b/src/editorui.py @@ -31,7 +31,7 @@ class KPMapScene(QtGui.QGraphicsScene): drawRight = min(areaRightT, right) drawTop = max(areaTopT, top) - drawBottom = max(areaBottomT, bottom) + drawBottom = min(areaBottomT, bottom) srcY = drawTop - top destY = drawTop * 24 @@ -40,7 +40,7 @@ class KPMapScene(QtGui.QGraphicsScene): baseDestX = drawLeft * 24 rows = layer.cache - tileset = KP.map.tilesets[layer.tileset] + tileset = KP.map.loadedTilesets[layer.tileset] tileList = tileset.tiles for y in xrange(drawTop, drawBottom): |