mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixed integration tests.
This commit is contained in:
parent
59510c42d1
commit
22463343a7
1 changed files with 8 additions and 5 deletions
|
@ -1422,8 +1422,11 @@ void GCode::append_full_config(const Print& print, std::string& str)
|
||||||
for (const char *key : {
|
for (const char *key : {
|
||||||
"print_settings_id", "filament_settings_id", "printer_settings_id",
|
"print_settings_id", "filament_settings_id", "printer_settings_id",
|
||||||
"printer_model", "printer_variant", "default_print_profile", "default_filament_profile",
|
"printer_model", "printer_variant", "default_print_profile", "default_filament_profile",
|
||||||
"compatible_printers_condition", "inherits" })
|
"compatible_printers_condition", "inherits" }) {
|
||||||
str += std::string("; ") + key + " = " + full_config.serialize(key) + "\n";
|
const ConfigOption *opt = full_config.option(key);
|
||||||
|
if (opt != nullptr)
|
||||||
|
str += std::string("; ") + key + " = " + opt->serialize() + "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GCode::set_extruders(const std::vector<unsigned int> &extruder_ids)
|
void GCode::set_extruders(const std::vector<unsigned int> &extruder_ids)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue