mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Completed parts visualization with highlighting
This commit is contained in:
parent
3f4f27fa5d
commit
b20caa4e31
3 changed files with 20 additions and 11 deletions
|
@ -296,8 +296,6 @@ sub get_material_name {
|
|||
my $name;
|
||||
if (exists $self->materials->{$material_id}) {
|
||||
$name //= $self->materials->{$material_id}->attributes->{$_} for qw(Name name);
|
||||
} elsif ($material_id eq '_') {
|
||||
$name = 'Default material';
|
||||
}
|
||||
$name //= $material_id;
|
||||
return $name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue