From ba959d67836d483007c384f1a87fcfba12332295 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Mon, 21 May 2012 01:41:02 -0500 Subject: Added copying, proper top-dwn selection --- src/mapdata.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mapdata.py') diff --git a/src/mapdata.py b/src/mapdata.py index 4185a19..b4b5e4b 100644 --- a/src/mapdata.py +++ b/src/mapdata.py @@ -33,6 +33,8 @@ class KPLayer(object): pass def setActivated(self, value, listToUse=None): + return + flag1 = QtGui.QGraphicsItem.ItemIsSelectable flag2 = QtGui.QGraphicsItem.ItemIsMovable @@ -195,6 +197,8 @@ class KPPathTileLayer(KPLayer): item.setVisible(value) def setActivated(self, value, listToUse=None): + return + flag1 = QtGui.QGraphicsItem.ItemIsSelectable flag2 = QtGui.QGraphicsItem.ItemIsMovable @@ -527,6 +531,7 @@ class KPPathLayer(KPLayer): item.setVisible(value) def setActivated(self, value): + return KPLayer.setActivated(self, value, self.nodes) flag = QtGui.QGraphicsItem.ItemIsSelectable -- cgit v1.2.3