Added an option for enabling/disabling background processing

This commit is contained in:
Alessandro Ranellucci 2014-06-13 15:54:13 +02:00
parent a0674714b1
commit a35ab2f4ee
3 changed files with 40 additions and 11 deletions

View file

@ -63,6 +63,7 @@ our $Settings = {
mode => 'simple',
version_check => 1,
autocenter => 1,
background_processing => 1,
},
};
@ -101,6 +102,7 @@ sub OnInit {
$last_version = $Settings->{_}{version};
$Settings->{_}{mode} ||= 'expert';
$Settings->{_}{autocenter} //= 1;
$Settings->{_}{background_processing} //= 1;
}
$Settings->{_}{version} = $Slic3r::VERSION;
Slic3r::GUI->save_settings;