New option for turning autocentering off. #404

This commit is contained in:
Alessandro Ranellucci 2013-12-18 19:11:20 +01:00
parent 15235699e4
commit 266673213d
4 changed files with 30 additions and 7 deletions

View file

@ -37,6 +37,13 @@ sub new {
tooltip => 'If this is enabled, Slic3r will prompt the last output directory instead of the one containing the input files.',
default => $Slic3r::GUI::Settings->{_}{remember_output_path},
},
{
opt_key => 'autocenter',
type => 'bool',
label => 'Auto-center parts',
tooltip => 'If this is enabled, Slic3r will auto-center objects around the configured print center.',
default => $Slic3r::GUI::Settings->{_}{autocenter},
},
],
on_change => sub { $self->{values}{$_[0]} = $_[1] },
label_width => 100,