Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box

(cherry picked from commit prusa3d/PrusaSlicer@22f38235ea)
This commit is contained in:
enricoturri1966 2023-10-20 20:28:27 +08:00 committed by Noisyfox
parent 28d0147d09
commit 7f0c095446
8 changed files with 148 additions and 79 deletions

View file

@ -6935,7 +6935,7 @@ void GLCanvas3D::_render_gcode(int canvas_width, int canvas_height)
}
}
void GLCanvas3D::_render_selection() const
void GLCanvas3D::_render_selection()
{
float scale_factor = 1.0;
#if ENABLE_RETINA_GL
@ -6966,7 +6966,7 @@ void GLCanvas3D::_render_sequential_clearance()
}
#if ENABLE_RENDER_SELECTION_CENTER
void GLCanvas3D::_render_selection_center() const
void GLCanvas3D::_render_selection_center()
{
m_selection.render_center(m_gizmos.is_dragging());
}