mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
More work for refactoring add_model() to add_model_object(). Tests pass
This commit is contained in:
parent
0339d5423d
commit
f55e057504
6 changed files with 10 additions and 33 deletions
|
@ -108,7 +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);
|
||||
$print->add_model($model);
|
||||
$print->add_model_object($_) for @{$model->objects};
|
||||
}
|
||||
$print->validate;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue