From 1f5dd12c3ce3694a8976156d4471742fbdb446c7 Mon Sep 17 00:00:00 2001 From: Daid Date: Fri, 24 Feb 2012 22:44:18 +0100 Subject: [PATCH] . --- SkeinPyPy_NewUI/newui/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkeinPyPy_NewUI/newui/validators.py b/SkeinPyPy_NewUI/newui/validators.py index 5d2a04b3..98860943 100644 --- a/SkeinPyPy_NewUI/newui/validators.py +++ b/SkeinPyPy_NewUI/newui/validators.py @@ -79,7 +79,7 @@ class wallThicknessValidator(): lineCount = int(wallThickness / nozzleSize) lineWidth = wallThickness / lineCount lineWidthAlt = wallThickness / (lineCount + 1) - if lineWidth > nozzleSize * 1.5 and lineWidthAlt < nozzleSize * 0.85: + if lineWidth >= nozzleSize * 1.5 and lineWidthAlt <= nozzleSize * 0.85: return WARNING, 'Current selected wall thickness results in a line thickness of ' + str(lineWidthAlt) + 'mm which is not recommended with your nozzle of ' + str(nozzleSize) + 'mm' return SUCCESS, '' except ValueError: -- 2.30.2