Update error message to make it a bit more informative (#2249)
This commit is contained in:
parent
ee0e6a7227
commit
761db8537e
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ Flow Flow::with_spacing(float new_spacing) const
|
|||
assert(m_width >= m_height);
|
||||
out.m_width += new_spacing - m_spacing;
|
||||
if (out.m_width < out.m_height)
|
||||
throw Slic3r::InvalidArgument("Invalid spacing supplied to Flow::with_spacing()");
|
||||
throw Slic3r::InvalidArgument(L("Invalid spacing supplied to Flow::with_spacing(), check your layer height and extrusion width"));
|
||||
}
|
||||
out.m_spacing = new_spacing;
|
||||
return out;
|
||||
|
|
Loading…
Reference in a new issue