diff options
-rw-r--r-- | src/slic3r/GUI/Plater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index c57c5982c..d79155cd5 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -5708,7 +5708,7 @@ std::vector<std::string> Plater::get_colors_for_color_print() const for (const CustomGCode::Item& code : p->model.custom_gcode_per_print_z.gcodes) if (code.type == CustomGCode::ColorChange) - colors.emplace_back(code.extra); + colors.emplace_back(code.color); return colors; } |