mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-16 08:12:39 -07:00
Fixed a division by zero in 3D scene, if there is nothing to show.
Improved Prusa3D icon.
This commit is contained in:
@@ -370,6 +370,7 @@ sub select_view {
|
||||
|
||||
sub zoom_to_bounding_box {
|
||||
my ($self, $bb) = @_;
|
||||
return if ($bb->empty);
|
||||
|
||||
# calculate the zoom factor needed to adjust viewport to
|
||||
# bounding box
|
||||
|
||||
Reference in New Issue
Block a user