3DScene update_volumes_colors_by_extruder method moved to c++

This commit is contained in:
Enrico Turri 2018-05-29 15:07:06 +02:00
parent 5ee5465f94
commit df14a3c399
11 changed files with 64 additions and 22 deletions

View file

@ -1520,6 +1520,14 @@ void GLCanvas3D::select_view(const std::string& direction)
}
}
void GLCanvas3D::update_volumes_colors_by_extruder()
{
if ((m_volumes == nullptr) || (m_config == nullptr))
return;
m_volumes->update_colors_by_extruder(m_config);
}
bool GLCanvas3D::start_using_shader() const
{
return m_shader.start_using();