removed obsolete function
This commit is contained in:
parent
a9e6b26811
commit
440c883cce
@ -3,9 +3,6 @@
|
|||||||
import inkex
|
import inkex
|
||||||
from inkex.bezier import csplength, csparea
|
from inkex.bezier import csplength, csparea
|
||||||
|
|
||||||
def isclosedac(p):
|
|
||||||
return abs(p.start-p.end) < 1e-6
|
|
||||||
|
|
||||||
class SmallThingsFilter(inkex.EffectExtension):
|
class SmallThingsFilter(inkex.EffectExtension):
|
||||||
|
|
||||||
def add_arguments(self, pars):
|
def add_arguments(self, pars):
|
||||||
@ -33,7 +30,6 @@ class SmallThingsFilter(inkex.EffectExtension):
|
|||||||
if stotal < (self.options.threshold * unit_factor):
|
if stotal < (self.options.threshold * unit_factor):
|
||||||
element.delete()
|
element.delete()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
#self.msg(e)
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Reference in New Issue
Block a user