mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Fixed get_zoom_to_bounding_box_factor on linux
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user