From 7d8111f44a960f94ef13ffc32c7ce8465760c0da Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Tue, 22 Mar 2016 23:17:00 +0100 Subject: [PATCH] Fix wall connections --- traylayout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traylayout.py b/traylayout.py index e786d5c..474f556 100755 --- a/traylayout.py +++ b/traylayout.py @@ -127,7 +127,7 @@ class Layout(Boxes): while end < lx and self.hwalls[y][end]: edges.append("f") # e for no ground lengths.append(self.x[end]) - edges.append("eCs"[self.vWalls(end, y)]) + edges.append("eCs"[self.vWalls(end+1, y)]) lengths.append(self.thickness) end += 1