diff options
author | bubnikv <bubnikv@gmail.com> | 2016-05-17 00:40:24 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-05-17 00:57:53 +0300 |
commit | d8be976356820996f6249228c21c9ace0075a9e1 (patch) | |
tree | 01bb0f5943ba5dba7cb34e689d97cfaf56f78a50 /slic3r.pl | |
parent | 510ca9f9e2f0e550ee3733510f7738e6ca0128aa (diff) |
The "controller" tab and the settings of the USB/serial connection wasversion_1.30.0
made configurable. Now one may hide the "controller" tab and the USB/serial
connection configuration from the preferences. This is useful for someone,
who never connects his printer to the computer by a cable.
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -32,6 +32,7 @@ my %cli_options = (); 'load=s@' => \$opt{load}, 'autosave=s' => \$opt{autosave}, 'ignore-nonexistent-config' => \$opt{ignore_nonexistent_config}, + 'no-controller' => \$opt{no_controller}, 'no-plater' => \$opt{no_plater}, 'gui-mode=s' => \$opt{gui_mode}, 'datadir=s' => \$opt{datadir}, @@ -99,10 +100,11 @@ my $gui; if ((!@ARGV || $opt{gui}) && !$opt{save} && eval "require Slic3r::GUI; 1") { { no warnings 'once'; - $Slic3r::GUI::datadir = Slic3r::decode_path($opt{datadir} // ''); - $Slic3r::GUI::no_plater = $opt{no_plater}; - $Slic3r::GUI::mode = $opt{gui_mode}; - $Slic3r::GUI::autosave = $opt{autosave}; + $Slic3r::GUI::datadir = Slic3r::decode_path($opt{datadir} // ''); + $Slic3r::GUI::no_controller = $opt{no_controller}; + $Slic3r::GUI::no_plater = $opt{no_plater}; + $Slic3r::GUI::mode = $opt{gui_mode}; + $Slic3r::GUI::autosave = $opt{autosave}; } $gui = Slic3r::GUI->new; setlocale(LC_NUMERIC, 'C'); |