1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Do not prevent validation errors to launch the GUI

This commit is contained in:
Alessandro Ranellucci
2012-07-21 15:43:15 +02:00
parent f977aff82d
commit 7170b347db
+3 -1
View File
@@ -73,7 +73,9 @@ die $@ if $@ && $opt{gui};
Slic3r::Config->set($_ => $cli_options{$_}) for keys %cli_options;
# validate configuration, convert options like --print-center to arrayrefs, init extruders etc.
Slic3r::Config->validate;
# ignore errors if we're launching the GUI
eval { Slic3r::Config->validate };
die $@ unless $gui;
# save configuration
Slic3r::Config->save($opt{save}) if $opt{save};