mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-20 15:53:14 +08:00
Follow-up of a0630420d9ed417a8848718702a6b01cc3c1975f - Fixed warning
This commit is contained in:
parent
86641a481e
commit
1d2339fbce
@ -123,7 +123,9 @@ void Camera::apply_projection(const BoundingBoxf3& box, double near_z, double fa
|
||||
double w = 0.0;
|
||||
double h = 0.0;
|
||||
|
||||
#if !ENABLE_LEGACY_OPENGL_REMOVAL
|
||||
const double old_distance = m_distance;
|
||||
#endif // !ENABLE_LEGACY_OPENGL_REMOVAL
|
||||
m_frustrum_zs = calc_tight_frustrum_zs_around(box);
|
||||
#if !ENABLE_LEGACY_OPENGL_REMOVAL
|
||||
if (m_distance != old_distance)
|
||||
|
Loading…
x
Reference in New Issue
Block a user