From b5e45bccf9b442fff95f8e15ab7642efe8b58e97 Mon Sep 17 00:00:00 2001
From: bubnikv <bubnikv@gmail.com>
Date: Wed, 8 Mar 2017 15:08:40 +0100
Subject: [PATCH] Fixed a typo after porting _simplify_slices to C++.

---
 lib/Slic3r/Print/Object.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm
index e7f8b8095..036632855 100644
--- a/lib/Slic3r/Print/Object.pm
+++ b/lib/Slic3r/Print/Object.pm
@@ -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"