mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Don't transfer ownership of Model to Print::Object
This commit is contained in:
parent
13af16ea24
commit
093d1cbe2f
6 changed files with 10 additions and 15 deletions
|
@ -151,7 +151,7 @@ sub init_print {
|
|||
$model->center_instances_around_point($print->config->print_center);
|
||||
foreach my $model_object (@{$model->objects}) {
|
||||
$print->auto_assign_extruders($model_object);
|
||||
$print->add_model_object($model, $model_object);
|
||||
$print->add_model_object($model_object);
|
||||
}
|
||||
}
|
||||
$print->validate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue