Fixed a typo after porting _simplify_slices to C++.

This commit is contained in:
bubnikv 2017-03-08 15:08:40 +01:00
parent 798bca561b
commit b5e45bccf9

View file

@ -51,7 +51,7 @@ sub slice {
warn $warning if (defined($warning) && $warning ne '');
# simplify slices if required
$self->_simplify_slices(scale($self->print->config->resolution));
$self->_simplify_slices(scale($self->print->config->resolution))
if ($self->print->config->resolution);
die "No layers were detected. You might want to repair your STL file(s) or check their size or thickness and retry.\n"