From 0aaa7dd076fba27ca7e4f24575e288f92b90662c Mon Sep 17 00:00:00 2001 From: YuSanka Date: Wed, 8 Jan 2020 15:44:39 +0100 Subject: [PATCH] Small fix for https://github.com/prusa3d/PrusaSlicer/commit/3e0690b37bff4af00015a3b393c39a129ab0d1cc --- src/libslic3r/GCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index f5e075a36..3b2d2ca74 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -2071,7 +2071,7 @@ void GCode::process_layer( } Slic3r::sort_remove_duplicates(printing_extruders); } else - printing_extruders = { correct_extruder_id }; + printing_extruders = { (unsigned int)correct_extruder_id }; // Now we must add this extrusion into the by_extruder map, once for each extruder that will print it: for (unsigned int extruder : printing_extruders)