mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
New option for turning autocentering off. #404
This commit is contained in:
parent
15235699e4
commit
266673213d
4 changed files with 30 additions and 7 deletions
|
@ -54,6 +54,7 @@ our $Settings = {
|
|||
_ => {
|
||||
mode => 'simple',
|
||||
version_check => 1,
|
||||
autocenter => 1,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -88,6 +89,7 @@ sub OnInit {
|
|||
$Settings = $ini if $ini;
|
||||
$last_version = $Settings->{_}{version};
|
||||
$Settings->{_}{mode} ||= 'expert';
|
||||
$Settings->{_}{autocenter} //= 1;
|
||||
}
|
||||
$Settings->{_}{version} = $Slic3r::VERSION;
|
||||
Slic3r::GUI->save_settings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue