mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Completed parts visualization with highlighting
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user