Fixed a regression bug due to some Perl to C++ porting

of a configuration layer. Fixes https://github.com/prusa3d/Slic3r/issues/627
This commit is contained in:
bubnikv 2017-12-14 11:35:38 +01:00
parent cdab27d337
commit eaaac8b2a4
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ my %opt = ();
# load config
my $config = Slic3r::Config::new_from_defaults;
if ($opt{load}) {
$config->apply(Slic3r::Config->load($opt{load}));
$config->apply(Slic3r::Config::load($opt{load}));
}
# init print