Fixed debug technology ENABLE_RENDER_SELECTION_CENTER

This commit is contained in:
Enrico Turri 2019-05-20 15:59:54 +02:00
parent 8f72a0cad8
commit b0200c04ae
3 changed files with 10 additions and 6 deletions

View file

@ -4025,8 +4025,7 @@ void GLCanvas3D::_render_selection() const
#if ENABLE_RENDER_SELECTION_CENTER
void GLCanvas3D::_render_selection_center() const
{
if (!m_gizmos.is_running())
m_selection.render_center();
m_selection.render_center(m_gizmos.is_dragging());
}
#endif // ENABLE_RENDER_SELECTION_CENTER