mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
3DScene update_volumes_colors_by_extruder method moved to c++
This commit is contained in:
parent
5ee5465f94
commit
df14a3c399
11 changed files with 64 additions and 22 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue