From 26ef1a173cb2a07df8378a5ad553e74fc9cf256c Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Sat, 19 Oct 2024 09:28:07 +0200 Subject: [PATCH] Add missing settings --- tests/GCodeExportTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/GCodeExportTest.cpp b/tests/GCodeExportTest.cpp index 5a631e98a9..d0c6cf06f8 100644 --- a/tests/GCodeExportTest.cpp +++ b/tests/GCodeExportTest.cpp @@ -449,6 +449,8 @@ TEST_F(GCodeExportTest, SwitchExtruderSimple) scene.extruders.emplace_back(0, nullptr); ExtruderTrain& train1 = scene.extruders.back(); + train1.settings_.add("machine_extruder_prestart_code", ""); + train1.settings_.add("machine_extruder_change_duration", "0"); train1.settings_.add("machine_extruder_start_code", ";FIRST EXTRUDER START G-CODE!"); train1.settings_.add("machine_extruder_end_code", ";FIRST EXTRUDER END G-CODE!"); train1.settings_.add("machine_extruder_start_code_duration", "0.0"); @@ -459,6 +461,8 @@ TEST_F(GCodeExportTest, SwitchExtruderSimple) scene.extruders.emplace_back(1, nullptr); ExtruderTrain& train2 = scene.extruders.back(); + train2.settings_.add("machine_extruder_prestart_code", ""); + train2.settings_.add("machine_extruder_change_duration", "0"); train2.settings_.add("machine_extruder_start_code", ";SECOND EXTRUDER START G-CODE!"); train2.settings_.add("machine_extruder_end_code", ";SECOND EXTRUDER END G-CODE!"); train2.settings_.add("machine_extruder_start_code_duration", "0.0");