summaryrefslogtreecommitdiff
path: root/lib/elements/auto_fill.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-09-12 21:32:15 -0400
committerGitHub <noreply@github.com>2018-09-12 21:32:15 -0400
commit7b8af2ed5731bc10b331db2b32dbce48f60c33a9 (patch)
treeac06f38cde84e676f8aa8e91f08b71d45b9f2642 /lib/elements/auto_fill.py
parent3fd741a1a4218b6559184aaadcde8abca178bde2 (diff)
parentd30507171b04f37871db74609c0a521325bddbd1 (diff)
Merge pull request #301 from inkstitch/lexelby/bug-fixes
bug fixes
Diffstat (limited to 'lib/elements/auto_fill.py')
-rw-r--r--lib/elements/auto_fill.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elements/auto_fill.py b/lib/elements/auto_fill.py
index cfee6d7d..65b11fb1 100644
--- a/lib/elements/auto_fill.py
+++ b/lib/elements/auto_fill.py
@@ -8,7 +8,7 @@ from .fill import Fill
class AutoFill(Fill):
- element_name = _("Auto-Fill")
+ element_name = _("AutoFill")
@property
@param('auto_fill', _('Automatically routed fill stitching'), type='toggle', default=True)
@@ -55,7 +55,7 @@ class AutoFill(Fill):
def fill_underlay_angle(self):
underlay_angle = self.get_float_param("fill_underlay_angle")
- if underlay_angle:
+ if underlay_angle is not None:
return math.radians(underlay_angle)
else:
return self.angle + math.pi / 2.0