bugfix in join paths
This commit is contained in:
parent
f55b36b8a6
commit
f0afc55363
@ -74,6 +74,9 @@ def getArrangedIds(pathMap, startPathId):
|
||||
minDist = 9e+100 #A large float
|
||||
closestId = None
|
||||
np = pathMap[nextPathId]
|
||||
if np[-1] == []:
|
||||
inkex.utils.debug("Warning. Selection seems to contain invalid paths, e.g. pointy paths like M 54,54 Z. Please check and try again!")
|
||||
exit(1)
|
||||
npPts = [np[-1][-1][-1]]
|
||||
if(len(orderPathIds) == 1):#compare both the ends for the first path
|
||||
npPts.append(np[0][0][0])
|
||||
|
Reference in New Issue
Block a user