From 375b334ad86f3c984450f7cdfa945e5138b85687 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sat, 3 Jun 2017 19:58:18 -0500 Subject: [PATCH] Bugfixes: Fix CLI definition for printer notes and remove dupe qw() --- lib/Slic3r/GUI/PresetEditor.pm | 1 - xs/src/libslic3r/PrintConfig.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Slic3r/GUI/PresetEditor.pm b/lib/Slic3r/GUI/PresetEditor.pm index 708ba1f5c..74c64420e 100644 --- a/lib/Slic3r/GUI/PresetEditor.pm +++ b/lib/Slic3r/GUI/PresetEditor.pm @@ -1198,7 +1198,6 @@ sub options { use_firmware_retraction pressure_advance vibration_limit use_volumetric_e start_gcode end_gcode before_layer_gcode layer_gcode toolchange_gcode between_objects_gcode - printer_notes nozzle_diameter extruder_offset retract_length retract_lift retract_speed retract_restart_extra retract_before_travel retract_layer_change wipe retract_length_toolchange retract_restart_extra_toolchange retract_lift_above retract_lift_below diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp index 2b4f220c8..d9449f1a9 100644 --- a/xs/src/libslic3r/PrintConfig.cpp +++ b/xs/src/libslic3r/PrintConfig.cpp @@ -926,8 +926,8 @@ PrintConfigDef::PrintConfigDef() def = this->add("printer_notes", coString); def->label = "Printer notes"; - def->tooltip = "You can put your notes regarding the printer here."; - def->cli = "printer-notes=s@"; + def->tooltip = "You can put your notes regarding the printer here. This text will be added to the G-code header comments."; + def->cli = "printer-notes=s"; def->multiline = true; def->full_width = true; def->height = 130;