summaryrefslogtreecommitdiff
path: root/src/editorui/editormain.py
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-01-01 23:33:25 +0100
committerTreeki <treeki@gmail.com>2012-01-01 23:33:25 +0100
commite5d1d12873748e500210a6feebf108ef501134e2 (patch)
tree31660279a50e1b798587db49c69ccaeae47b8912 /src/editorui/editormain.py
parentee339d840cdbc163bd82f522720aa44fb1ae4b69 (diff)
downloadkoopatlas-e5d1d12873748e500210a6feebf108ef501134e2.tar.gz
koopatlas-e5d1d12873748e500210a6feebf108ef501134e2.zip
fixed a plethora of bugs
Diffstat (limited to 'src/editorui/editormain.py')
-rw-r--r--src/editorui/editormain.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py
index ba75b7f..1ba06bd 100644
--- a/src/editorui/editormain.py
+++ b/src/editorui/editormain.py
@@ -34,6 +34,12 @@ class KPMapScene(QtGui.QGraphicsScene):
for obj in layer.objects:
self.addItem(KPEditorDoodad(obj, layer))
elif isinstance(layer, KPPathLayer):
+ for inLayer in KP.map.associateLayers:
+ for obj in inLayer.objects:
+ self.addItem(KPEditorObject(obj, inLayer))
+ for obj in inLayer.doodads:
+ self.addItem(KPEditorDoodad(obj, inLayer))
+
for node in layer.nodes:
self.addItem(KPEditorNode(node))