another fix
This commit is contained in:
parent
9b49adcbc8
commit
d81bdf50ab
@ -176,8 +176,7 @@ class ChainPaths(inkex.Effect):
|
|||||||
# chain the segments
|
# chain the segments
|
||||||
obsoleted = 0
|
obsoleted = 0
|
||||||
remaining = 0
|
remaining = 0
|
||||||
for id in self.svg.selected:
|
for id, node in self.svg.selected.items():
|
||||||
node = self.svg.selected[id]
|
|
||||||
path_d = CubicSuperPath(Path(node.get('d')))
|
path_d = CubicSuperPath(Path(node.get('d')))
|
||||||
# ATTENTION: for parsePath() it is the same, if first and last point coincide, or if the path is really closed.
|
# ATTENTION: for parsePath() it is the same, if first and last point coincide, or if the path is really closed.
|
||||||
path_closed = True if re.search("z\s*$", node.get('d')) else False
|
path_closed = True if re.search("z\s*$", node.get('d')) else False
|
||||||
|
Reference in New Issue
Block a user