mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 21:25:55 +08:00
#677 fix color print
This commit is contained in:
parent
d726b33759
commit
768e7b673a
@ -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)
|
for (const CustomGCode::Item& code : p->model.custom_gcode_per_print_z.gcodes)
|
||||||
if (code.type == CustomGCode::ColorChange)
|
if (code.type == CustomGCode::ColorChange)
|
||||||
colors.emplace_back(code.extra);
|
colors.emplace_back(code.color);
|
||||||
|
|
||||||
return colors;
|
return colors;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user