Fix of the preceding cherry pick.
This commit is contained in:
parent
488feb2335
commit
91e1dc639d
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ $config->apply($cli_config);
|
||||||
|
|
||||||
# launch GUI
|
# launch GUI
|
||||||
my $gui;
|
my $gui;
|
||||||
if ((!@ARGV || $opt{gui}) && !(!@ARGV || $opt{no_gui}) && !$opt{save} && eval "require Slic3r::GUI; 1") {
|
if ((!@ARGV || $opt{gui}) && !$opt{no_gui} && !$opt{save} && eval "require Slic3r::GUI; 1") {
|
||||||
{
|
{
|
||||||
no warnings 'once';
|
no warnings 'once';
|
||||||
$Slic3r::GUI::datadir = Slic3r::decode_path($opt{datadir} // '');
|
$Slic3r::GUI::datadir = Slic3r::decode_path($opt{datadir} // '');
|
||||||
|
|
Loading…
Add table
Reference in a new issue