Removed obsolete (and unused) code

This commit is contained in:
Enrico Turri 2019-12-09 15:40:14 +01:00
parent a7b12f97db
commit 68812b081f
3 changed files with 1 additions and 7 deletions

View file

@ -1378,7 +1378,6 @@ GLCanvas3D::GLCanvas3D(wxGLCanvas* canvas, Bed3D& bed, Camera& camera, GLToolbar
, m_retina_helper(nullptr)
#endif
, m_in_render(false)
, m_render_enabled(true)
, m_bed(bed)
, m_camera(camera)
, m_view_toolbar(view_toolbar)
@ -1791,7 +1790,7 @@ void GLCanvas3D::update_volumes_colors_by_extruder()
void GLCanvas3D::render()
{
if (!m_render_enabled || m_in_render)
if (m_in_render)
{
// if called recursively, return
m_dirty = true;