mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixed one more regression introduced with Model refactoring. Includes regression test
This commit is contained in:
parent
dd1183f19a
commit
ad99b2a0fd
4 changed files with 24 additions and 5 deletions
|
@ -197,7 +197,7 @@ sub on_btn_load {
|
|||
foreach my $object (@{$model->objects}) {
|
||||
foreach my $volume (@{$object->volumes}) {
|
||||
my $new_volume = $self->{model_object}->add_volume($volume);
|
||||
$new_volume->modifier($is_modifier);
|
||||
$new_volume->set_modifier($is_modifier);
|
||||
if (!defined $new_volume->material_id) {
|
||||
# it looks like this block is never entered because all input volumes seem to have an assigned material
|
||||
# TODO: check we can assume that for any input format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue