mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-11 17:49:00 +08:00
Fix bad commit
This commit is contained in:
parent
7170b347db
commit
8ba67d990f
@ -75,7 +75,7 @@ Slic3r::Config->set($_ => $cli_options{$_}) for keys %cli_options;
|
|||||||
# validate configuration, convert options like --print-center to arrayrefs, init extruders etc.
|
# validate configuration, convert options like --print-center to arrayrefs, init extruders etc.
|
||||||
# ignore errors if we're launching the GUI
|
# ignore errors if we're launching the GUI
|
||||||
eval { Slic3r::Config->validate };
|
eval { Slic3r::Config->validate };
|
||||||
die $@ unless $gui;
|
die $@ if $@ && !$gui;
|
||||||
|
|
||||||
# save configuration
|
# save configuration
|
||||||
Slic3r::Config->save($opt{save}) if $opt{save};
|
Slic3r::Config->save($opt{save}) if $opt{save};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user