fix deprecation in chain_paths
This commit is contained in:
parent
07d29540ed
commit
f120cd737c
@ -179,7 +179,7 @@ class ChainPaths(inkex.EffectExtension):
|
|||||||
for id, node in self.svg.selected.items():
|
for id, node in self.svg.selected.items():
|
||||||
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(r'z\s*$', node.get('d')) else False
|
||||||
new = []
|
new = []
|
||||||
cur_idx = -1
|
cur_idx = -1
|
||||||
for chain in path_d:
|
for chain in path_d:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user