mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-11 05:29:10 +08:00
Follow-up of 17a6b696e7a4b94d49e09b8598b0343a3c2ddd40 -> Fixed missing imgui window size initialization
This commit is contained in:
parent
da3cb30b7c
commit
e679bcced6
@ -1717,9 +1717,7 @@ void GLCanvas3D::render()
|
|||||||
if (m_camera.requires_zoom_to_bed)
|
if (m_camera.requires_zoom_to_bed)
|
||||||
{
|
{
|
||||||
zoom_to_bed();
|
zoom_to_bed();
|
||||||
#if !ENABLE_6DOF_CAMERA
|
|
||||||
_resize((unsigned int)cnv_size.get_width(), (unsigned int)cnv_size.get_height());
|
_resize((unsigned int)cnv_size.get_width(), (unsigned int)cnv_size.get_height());
|
||||||
#endif // !ENABLE_6DOF_CAMERA
|
|
||||||
m_camera.requires_zoom_to_bed = false;
|
m_camera.requires_zoom_to_bed = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user