mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-25 17:18:49 -07:00
Fix compile error
This commit is contained in:
parent
6975a68338
commit
f04a3dced9
1 changed files with 3 additions and 3 deletions
|
|
@ -5103,9 +5103,9 @@ int CLI::run(int argc, char **argv)
|
|||
{
|
||||
DynamicPrintConfig temp_config;
|
||||
std::vector<std::string> temp_colors(1, "#FFFFFFFF");
|
||||
if (filament_color) {
|
||||
temp_colors[0] = colors[color_count % colors.size()];
|
||||
}
|
||||
//if (filament_color) {
|
||||
// temp_colors[0] = colors[color_count % colors.size()];
|
||||
//}
|
||||
temp_config.option<ConfigOptionStrings>("filament_colour", true)->values = temp_colors;
|
||||
extruder_filament_info[e_index].push_back(std::move(temp_config));
|
||||
color_count++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue