mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators
This commit is contained in:
commit
6d88d0d39b
3 changed files with 19 additions and 5 deletions
|
@ -908,6 +908,9 @@ sub deselect_volumes {
|
|||
|
||||
sub select_volume {
|
||||
my ($self, $volume_idx) = @_;
|
||||
|
||||
return if ($volume_idx >= scalar(@{$self->volumes}));
|
||||
|
||||
$self->volumes->[$volume_idx]->set_selected(1)
|
||||
if $volume_idx != -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue