mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Basic functionality of the Parts tab is complete
This commit is contained in:
@@ -338,6 +338,10 @@ sub Closing {
|
||||
foreach my $volume (@{$self->model_object->volumes}) {
|
||||
if (defined $volume->material_id) {
|
||||
my $config = $self->model_object->model->materials->{ $volume->material_id }->config;
|
||||
|
||||
# temporary hack for handling volumes added after the window was launched
|
||||
$self->{mapping}{ $volume->material_id } //= 0;
|
||||
|
||||
$config->set('extruder', $self->{mapping}{ $volume->material_id }-1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user