SPE-1571 - Fixed rendering of printbed reference axes

This commit is contained in:
enricoturri1966 2023-03-07 09:34:20 +01:00
parent efb6b747cb
commit f708d9fcb9

View file

@ -172,11 +172,11 @@ void Bed3D::render_internal(GLCanvas3D& canvas, const Transform3d& view_matrix,
{
m_scale_factor = scale_factor;
glsafe(::glEnable(GL_DEPTH_TEST));
if (show_axes)
render_axes();
glsafe(::glEnable(GL_DEPTH_TEST));
m_model.model.set_color(picking ? PICKING_MODEL_COLOR : DEFAULT_MODEL_COLOR);
switch (m_type)