summaryrefslogtreecommitdiff
path: root/src/main/python/shapes
diff options
context:
space:
mode:
authorsumit2020-05-31 21:41:45 +0530
committersumit2020-05-31 21:41:45 +0530
commitdf2e93d76688cdfe5620184d45bd0ec78daa706a (patch)
tree2aba2b10db95ed77d16ef3c998616aeee0dcf981 /src/main/python/shapes
parent3d48ad1d1884aacb74e569f60b213aa2be64d539 (diff)
downloadChemical-PFD-df2e93d76688cdfe5620184d45bd0ec78daa706a.tar.gz
Chemical-PFD-df2e93d76688cdfe5620184d45bd0ec78daa706a.tar.bz2
Chemical-PFD-df2e93d76688cdfe5620184d45bd0ec78daa706a.zip
add variable commonPaths
Diffstat (limited to 'src/main/python/shapes')
-rw-r--r--src/main/python/shapes/line.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py
index 2c5a527..9f3bfaf 100644
--- a/src/main/python/shapes/line.py
+++ b/src/main/python/shapes/line.py
@@ -125,6 +125,7 @@ class Line(QGraphicsPathItem):
self.setAcceptHoverEvents(True)
# initiates path
self.createPath()
+ self.commonPaths=[]
def advance(self, phase):
# items = self.collidingItems(Qt.IntersectsItemShape)