small fixes
This commit is contained in:
parent
7343d5be1b
commit
bb3505ed9e
@ -24,7 +24,7 @@ def warn(*args, **kwargs):
|
||||
import warnings
|
||||
warnings.warn = warn
|
||||
|
||||
class TemplateEffect(inkex.Effect):
|
||||
class ExportXY(inkex.Effect):
|
||||
def __init__(self):
|
||||
inkex.Effect.__init__(self)
|
||||
def effect(self):
|
||||
@ -41,5 +41,4 @@ class TemplateEffect(inkex.Effect):
|
||||
for csp in subpath:
|
||||
output_nodes += str(csp[1][0]) + "\t" + str(csp[1][1]) + "\n"
|
||||
sys.stderr.write(output_nodes)
|
||||
TemplateEffect().run()
|
||||
sys.exit(0) #helps to keep the selection
|
||||
ExportXY().run()
|
@ -94,7 +94,7 @@ class SubdividePathEffect(inkex.Effect):
|
||||
for key, cspath in paths:
|
||||
parts = getPartsFromCubicSuper(cspath)
|
||||
partsSplit = False
|
||||
|
||||
try:
|
||||
for i, part in enumerate(parts):
|
||||
|
||||
newSegs = []
|
||||
@ -162,5 +162,6 @@ class SubdividePathEffect(inkex.Effect):
|
||||
else:
|
||||
cspath = getCubicSuperFromParts(parts)
|
||||
elem.set('d', CubicSuperPath(cspath))
|
||||
|
||||
except:
|
||||
pass
|
||||
SubdividePathEffect().run()
|
Reference in New Issue
Block a user