mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Show object information when double-clicking it in the plater
This commit is contained in:
parent
304676b6aa
commit
392af5542b
3 changed files with 102 additions and 4 deletions
|
@ -129,6 +129,13 @@ sub scale {
|
|||
}
|
||||
}
|
||||
|
||||
sub materials_count {
|
||||
my $self = shift;
|
||||
|
||||
my %materials = map { $_->material_id // '_default' => 1 } @{$self->volumes};
|
||||
return scalar keys %materials;
|
||||
}
|
||||
|
||||
package Slic3r::Model::Volume;
|
||||
use Moo;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue