From fc4ac5ded47cfe870fb5e2c4cbd006171c23f6ed Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 5 Apr 2014 10:58:03 +0200 Subject: [PATCH] Re-enable the threads config option. #1882 --- lib/Slic3r/Config.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 133dee776..3a51ebc50 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -12,6 +12,9 @@ our @Ignore = qw(duplicate_x duplicate_y multiply_x multiply_y support_material_ our $Options = print_config_def(); +# overwrite the hard-coded readonly value (this information is not available in XS) +$Options->{threads}{readonly} = !$Slic3r::have_threads; + # generate accessors { no strict 'refs';