Fixed color of shells in preview

This commit is contained in:
enricoturri1966 2020-12-18 09:03:18 +01:00
parent 5bd1a57650
commit 156019d9d0
3 changed files with 11 additions and 1 deletions
src/slic3r/GUI

View file

@ -452,6 +452,12 @@ void GCodeViewer::refresh_render_paths()
}
#endif // ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE
void GCodeViewer::update_shells_color_by_extruder(const DynamicPrintConfig* config)
{
if (config != nullptr)
m_shells.volumes.update_colors_by_extruder(config);
}
void GCodeViewer::reset()
{
m_initialized = false;