#492 Keep view selection after slicing (even with multiple extruders)

This commit is contained in:
supermerill 2020-09-24 14:13:03 +02:00
parent cb135edb26
commit 2b12360593

View File

@ -629,7 +629,7 @@ void Preview::update_view_type(bool slice_completed)
m_has_switched_to_color = true;
} else if (!m_has_switched_to_extruders && has_multi_tool) {
m_last_choice = GCodePreviewData::Extrusion::Tool;
m_has_switched_to_color = true;
m_has_switched_to_extruders = true;
}
if (m_last_choice != m_gcode_preview_data->extrusion.view_type) {
m_gcode_preview_data->extrusion.view_type = m_last_choice;