Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box
This commit is contained in:
parent
8be67bc4d6
commit
22f38235ea
8 changed files with 201 additions and 19 deletions
|
@ -5240,7 +5240,11 @@ void GLCanvas3D::_render_gcode()
|
|||
m_gcode_viewer.render();
|
||||
}
|
||||
|
||||
#if ENABLE_GLBEGIN_GLEND_REMOVAL
|
||||
void GLCanvas3D::_render_selection()
|
||||
#else
|
||||
void GLCanvas3D::_render_selection() const
|
||||
#endif // ENABLE_GLBEGIN_GLEND_REMOVAL
|
||||
{
|
||||
float scale_factor = 1.0;
|
||||
#if ENABLE_RETINA_GL
|
||||
|
@ -5271,7 +5275,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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue