mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Basic functionality of the Parts tab is complete
This commit is contained in:
parent
7387e60706
commit
b5b8fb606f
4 changed files with 69 additions and 17 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue