Custom bed texture applied to custom bed shapes

This commit is contained in:
Enrico Turri 2019-07-24 10:11:17 +02:00
parent 1b5ba6c823
commit 7e7550b416
3 changed files with 129 additions and 26 deletions

View file

@ -3919,7 +3919,7 @@ void GLCanvas3D::_render_bed(float theta) const
#if ENABLE_RETINA_GL
scale_factor = m_retina_helper->get_scale_factor();
#endif // ENABLE_RETINA_GL
m_bed.render(const_cast<GLCanvas3D*>(this), theta, scale_factor);
m_bed.render(const_cast<GLCanvas3D&>(*this), theta, scale_factor);
}
void GLCanvas3D::_render_axes() const