mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Follow-up of 17a6b696e7 -> Fixed missing imgui window size initialization
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user