mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-20 22:18:30 +00:00
Fixed few warnings
This commit is contained in:
1 parent
3e855d36dc
commit
32a353058f
11 files changed
+44
-58
No files matched your search
@@ -425,9 +425,6 @@ double Camera::calc_zoom_to_bounding_box_factor(const BoundingBoxf3& box, double
|
||||
if ((dx <= 0.0) || (dy <= 0.0))
|
||||
return -1.0f;
|
||||
|
||||
double med_x = 0.5 * (max_x + min_x);
|
||||
double med_y = 0.5 * (max_y + min_y);
|
||||
|
||||
dx *= margin_factor;
|
||||
dy *= margin_factor;
|
||||
|
||||
|
||||
Reference in new issue
Block a user