Fixed compiler warnings
This commit is contained in:
parent
792caae0ca
commit
75a6f54f0b
4 changed files with 3 additions and 4 deletions
src/slic3r/GUI
|
@ -3449,7 +3449,7 @@ void GCodeViewer::render_legend(float& legend_height)
|
|||
|
||||
std::vector<CustomGCode::Item> custom_gcode_per_print_z = wxGetApp().is_editor() ? wxGetApp().plater()->model().custom_gcode_per_print_z.gcodes : m_custom_gcode_per_print_z;
|
||||
std::vector<Color> last_color(m_extruders_count);
|
||||
for (int i = 0; i < m_extruders_count; ++i) {
|
||||
for (size_t i = 0; i < m_extruders_count; ++i) {
|
||||
last_color[i] = m_tool_colors[i];
|
||||
}
|
||||
int last_extruder_id = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue