mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 13:36:31 +01:00
More work for refactoring add_model() to add_model_object(). Tests pass
This commit is contained in:
1 parent
0339d5423d
commit
f55e057504
6 files changed
+10
-33
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user