Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-06-14 16:37:29 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-06-14 16:37:29 +0300
commitac8de0bcaff04b6dc038128c1544ed182f5b3f14 (patch)
treee966b1d8b2c34aef5a078c764a40ba764d5b50f9 /src/slic3r/GUI/GLCanvas3D.cpp
parent541f58c65617eb1f341fe47105fc57c57ab2b710 (diff)
Follow-up of 1a91add2e60f3a4d22cdd6c8a10e57dc8095e0a2 -> Improvements to tighter camera frustrum to reduce z-fighting
Diffstat (limited to 'src/slic3r/GUI/GLCanvas3D.cpp')
-rw-r--r--src/slic3r/GUI/GLCanvas3D.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp
index faee2727d..fd77b4609 100644
--- a/src/slic3r/GUI/GLCanvas3D.cpp
+++ b/src/slic3r/GUI/GLCanvas3D.cpp
@@ -1590,8 +1590,8 @@ void GLCanvas3D::render()
if (m_camera.requires_zoom_to_bed)
{
zoom_to_bed();
- const Size& cnv_size = get_canvas_size();
- _resize((unsigned int)cnv_size.get_width(), (unsigned int)cnv_size.get_height());
+// const Size& cnv_size = get_canvas_size();
+// _resize((unsigned int)cnv_size.get_width(), (unsigned int)cnv_size.get_height());
m_camera.requires_zoom_to_bed = false;
}