fix errors in split and break bezier at t extension
This commit is contained in:
parent
04b1071201
commit
ecbc8323f9
@ -128,11 +128,13 @@ class SplitAndBreakBezierAtT(inkex.EffectExtension):
|
|||||||
|
|
||||||
breakAparts = self.breakContours(element)
|
breakAparts = self.breakContours(element)
|
||||||
|
|
||||||
|
if len(breakAparts) > 0:
|
||||||
pathStart = breakAparts[0]
|
pathStart = breakAparts[0]
|
||||||
|
if len(breakAparts) > 1:
|
||||||
pathEnd = breakAparts[1]
|
pathEnd = breakAparts[1]
|
||||||
if self.options.keep_start is False:
|
if self.options.keep_start is False and len(breakAparts) > 0:
|
||||||
pathStart.delete()
|
pathStart.delete()
|
||||||
if self.options.keep_end is False:
|
if self.options.keep_end is False and len(breakAparts) > 1:
|
||||||
pathEnd.delete()
|
pathEnd.delete()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user