Follow-up of 17a6b696e7
-> 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…
Reference in New Issue
Block a user