update slic3r

This commit is contained in:
QIDI TECH
2025-02-26 20:14:36 +08:00
parent d32f03deb8
commit ffb5d3da8a
60 changed files with 1724 additions and 475 deletions

View File

@@ -751,7 +751,8 @@ const std::vector<GCodeViewer::Color> GCodeViewer::Extrusion_Role_Colors {{
{ 0.00f, 0.50f, 0.00f, 1.0f }, // erSupportMaterialInterface
{ 0.00f, 0.25f, 0.00f, 1.0f }, // erSupportTransition
{ 0.70f, 0.89f, 0.67f, 1.0f }, // erWipeTower
{ 0.37f, 0.82f, 0.58f, 1.0f } // erCustom
{ 0.37f, 0.82f, 0.58f, 1.0f }, // erCustom
{ 0.85f, 0.65f, 0.95f, 1.0f } // erFlush
}};
const std::vector<GCodeViewer::Color> GCodeViewer::Options_Colors {{
@@ -3096,6 +3097,9 @@ void GCodeViewer::load_toolpaths(const GCodeProcessorResult& gcode_result, const
last_travel_s_id = move_id;
}
else if (move.type == EMoveType::Unretract && move.extrusion_role == ExtrusionRole::erFlush) {
m_roles.emplace_back(move.extrusion_role);
}
}
// roles -> remove duplicates