diff options
| author | Kaalleen <reni@allenka.de> | 2022-01-30 15:48:51 +0100 |
|---|---|---|
| committer | Kaalleen <reni@allenka.de> | 2022-05-04 19:06:44 +0200 |
| commit | 3d1600ed039c9078bcb4a28328ab60eb96994dfd (patch) | |
| tree | 57a6d51e108747daa354762ccab8b635e283e7a7 /lib/extensions/cleanup.py | |
| parent | 82216b184c669d6dea26672e5c0771146e62ca39 (diff) | |
* autofill to fillstitch
* remove too complex warning for fillstitch
* some marker adjustments
Diffstat (limited to 'lib/extensions/cleanup.py')
| -rw-r--r-- | lib/extensions/cleanup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/cleanup.py b/lib/extensions/cleanup.py index ae95041b..4c350d62 100644 --- a/lib/extensions/cleanup.py +++ b/lib/extensions/cleanup.py @@ -5,7 +5,7 @@ from inkex import NSS, Boolean, errormsg -from ..elements import AutoFill, Stroke +from ..elements import FillStitch, Stroke from ..i18n import _ from .base import InkstitchExtension @@ -38,7 +38,7 @@ class Cleanup(InkstitchExtension): return for element in self.elements: - if (isinstance(element, AutoFill) and self.rm_fill and element.shape.area < self.fill_threshold): + if (isinstance(element, FillStitch) and self.rm_fill and element.shape.area < self.fill_threshold): element.node.getparent().remove(element.node) count += 1 if (isinstance(element, Stroke) and self.rm_stroke and |
