summaryrefslogtreecommitdiff
path: root/src/editorui/editormain.py
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2011-12-30 04:23:40 -0600
committerColin Noga <Tempus@chronometry.ca>2011-12-30 04:23:40 -0600
commit5adfa5973564bec0638d661339240c1df61f41d5 (patch)
tree95ad534ae8b4a971a433c36d18fad644f6598693 /src/editorui/editormain.py
parent4fe38d93d44a0ed6e002f5ae319c88e4efb5678f (diff)
downloadkoopatlas-5adfa5973564bec0638d661339240c1df61f41d5.tar.gz
koopatlas-5adfa5973564bec0638d661339240c1df61f41d5.zip
Tried for a windows build, failed. Added some icons.
Diffstat (limited to '')
-rw-r--r--src/editorui/editormain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py
index 46660f4..6161e7d 100644
--- a/src/editorui/editormain.py
+++ b/src/editorui/editormain.py
@@ -64,7 +64,7 @@ class KPMapScene(QtGui.QGraphicsScene):
@QtCore.pyqtSlot(int)
- def viewportUpdateProxy(self, value):
+ def viewportUpdateProxy(self, valueA = None, value = None):
self.views()[0].viewport().update()
@@ -252,6 +252,7 @@ class KPMapScene(QtGui.QGraphicsScene):
elif isinstance(layer, KPPathLayer):
for pnLayer in reversed(KP.mainWindow.pathNodeList.getLayers()):
+ if not pnLayer.visible: continue
# Render Tiles
left, top = pnLayer.cacheBasePos