mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 14:04:11 -06:00
Fix compilation and test suite
This commit is contained in:
parent
0591eecab7
commit
916a0a0e58
7 changed files with 59 additions and 21 deletions
|
@ -108,6 +108,7 @@ sub init_print {
|
|||
$model_name = [$model_name] if ref($model_name) ne 'ARRAY';
|
||||
for my $model (map model($_, %params), @$model_name) {
|
||||
$model->arrange_objects($config);
|
||||
$model->center_instances_around_point($config->print_center);
|
||||
$print->add_model_object($_) for @{$model->objects};
|
||||
}
|
||||
$print->validate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue