From e679bcced67fc6f480acd5b49ce7d0142215fc5d Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Wed, 29 Jan 2020 15:40:56 +0100 Subject: [PATCH] Follow-up of 17a6b696e7a4b94d49e09b8598b0343a3c2ddd40 -> Fixed missing imgui window size initialization --- src/slic3r/GUI/GLCanvas3D.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 957b4f71d..c8e86d69b 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -1717,9 +1717,7 @@ void GLCanvas3D::render() if (m_camera.requires_zoom_to_bed) { zoom_to_bed(); -#if !ENABLE_6DOF_CAMERA _resize((unsigned int)cnv_size.get_width(), (unsigned int)cnv_size.get_height()); -#endif // !ENABLE_6DOF_CAMERA m_camera.requires_zoom_to_bed = false; }