1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Fixed get_zoom_to_bounding_box_factor on linux

This commit is contained in:
Enrico Turri
2018-04-25 13:55:45 +02:00
parent eeb436931b
commit e93391e0f8
+3
View File
@@ -688,6 +688,9 @@ sub select_view {
sub get_zoom_to_bounding_box_factor {
my ($self, $bb) = @_;
return undef if (! $self->init);
my $max_bb_size = max(@{ $bb->size });
return undef if ($max_bb_size == 0);