diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2011-11-27 01:41:23 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2011-11-27 01:41:23 +0400 |
commit | 7a5af293a8d44c2a38a4530960629bd45fc1f61a (patch) | |
tree | e78a6db1011e4ee051ff690abc859ef8261ea720 /lib/Slic3r | |
parent | 8ce2c23e52e57f154b9362bb1b966c530a7a3a0d (diff) |
Mark slow infill patterns as slow. #20
Diffstat (limited to 'lib/Slic3r')
-rw-r--r-- | lib/Slic3r/Config.pm | 2 | ||||
-rw-r--r-- | lib/Slic3r/GUI/OptionsGroup.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 67ebf1610..05c6b4994 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -96,11 +96,13 @@ our $Options = { label => 'Fill pattern', type => 'select', values => [qw(rectilinear line concentric hilbertcurve archimedeanchords octagramspiral)], + labels => [qw(rectilinear line concentric), 'hilbertcurve (slow)', 'archimedeanchords (slow)', 'octagramspiral (slow)'], }, 'solid_fill_pattern' => { label => 'Solid fill pattern', type => 'select', values => [qw(rectilinear concentric hilbertcurve archimedeanchords octagramspiral)], + labels => [qw(rectilinear concentric), 'hilbertcurve (slow)', 'archimedeanchords (slow)', 'octagramspiral (slow)'], }, 'fill_density' => { label => 'Fill density', diff --git a/lib/Slic3r/GUI/OptionsGroup.pm b/lib/Slic3r/GUI/OptionsGroup.pm index 877aaae7e..f6c4acde0 100644 --- a/lib/Slic3r/GUI/OptionsGroup.pm +++ b/lib/Slic3r/GUI/OptionsGroup.pm @@ -65,7 +65,7 @@ sub new { $y_field->SetValue($value->[1]); }; } elsif ($opt->{type} eq 'select') { - $field = Wx::Choice->new($parent, -1, Wx::wxDefaultPosition, Wx::wxDefaultSize, $opt->{values}); + $field = Wx::Choice->new($parent, -1, Wx::wxDefaultPosition, Wx::wxDefaultSize, $opt->{labels} || $opt->{values}); EVT_CHOICE($parent, $field, sub { Slic3r::Config->set($opt_key, $opt->{values}[$field->GetSelection]) }); push @reload_callbacks, sub { my $value = Slic3r::Config->get($opt_key); |