Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators

This commit is contained in:
Enrico Turri 2018-05-03 16:13:22 +02:00
commit 6d88d0d39b
3 changed files with 19 additions and 5 deletions

View file

@ -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;
}