parent
73a46460ee
commit
fd30b8b0b7
|
@ -122,8 +122,7 @@ class Part:
|
||||||
not self.path[0][0] == "T"):
|
not self.path[0][0] == "T"):
|
||||||
for p in reversed(self.pathes):
|
for p in reversed(self.pathes):
|
||||||
xy1 = p.path[-1][1:3]
|
xy1 = p.path[-1][1:3]
|
||||||
if points_equal(*xy0, *xy1):
|
if points_equal(*xy0, *xy1) and p.params == params:
|
||||||
# todo: check for same color and linewidth
|
|
||||||
p.path.extend(self.path[1:])
|
p.path.extend(self.path[1:])
|
||||||
self.path = []
|
self.path = []
|
||||||
return p
|
return p
|
||||||
|
|
Loading…
Reference in New Issue