mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 06:33:57 -06:00
Fixed regression causing skirt_height to he honored incorrectly when printing more than one object. Includes regression test #1200
This commit is contained in:
parent
8f5a958948
commit
7baaf6bf5d
5 changed files with 56 additions and 7 deletions
|
@ -44,7 +44,9 @@ sub init_print {
|
|||
$config->set('gcode_comments', 1) if $ENV{SLIC3R_TESTS_GCODE};
|
||||
|
||||
my $print = Slic3r::Print->new(config => $config);
|
||||
$print->add_model(model($model_name));
|
||||
|
||||
$model_name = [$model_name] if ref($model_name) ne 'ARRAY';
|
||||
$print->add_model(model($_)) for @$model_name;
|
||||
$print->validate;
|
||||
|
||||
return $print;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue