From 2d14ddb9552058381fdac813f906790bee581392 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 10 Jun 2014 16:12:14 +0200 Subject: [PATCH] Enable step caching --- lib/Slic3r/Print.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 59c21676..90a1b010 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -355,8 +355,7 @@ sub process { if (!$self->_state->done($step)) { $self->_state->set_started($step); $cb->(); - ### Re-enable this for step-based slicing: - ### $self->_state->set_done($step); + $self->_state->set_done($step); } }; my $object_step = sub { @@ -366,8 +365,7 @@ sub process { if (!$object->_state->done($step)) { $object->_state->set_started($step); $cb->($obj_idx); - ### Re-enable this for step-based slicing: - ### $object->_state->set_done($step); + $object->_state->set_done($step); } } };