also check slic3r bin directory for config
This commit is contained in:
parent
62ee79f0c9
commit
7bf354151c
@ -39,6 +39,9 @@ my %cli_options = ();
|
||||
if ($opt{load}) {
|
||||
if (-e $opt{load}) {
|
||||
Slic3r::Config->load($opt{load});
|
||||
} elsif (-e "$FindBin::Bin/$opt{load}") {
|
||||
printf STDERR "Loaded $FindBin::Bin/$opt{load}\n";
|
||||
Slic3r::Config->load("$FindBin::Bin/$opt{load}");
|
||||
} else {
|
||||
$opt{ignore_nonexistent_config} or die "Cannot find specified configuration file.\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user