mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fixed few warnings
This commit is contained in:
@@ -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