diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 8db67be4f..932c21e05 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -328,7 +328,7 @@ static inline void set_extra_lift(const Layer& layer, const Print& print, GCodeW std::string toolchange_command; if (tcr.priming || (new_extruder_id >= 0 && gcodegen.writer().need_toolchange(new_extruder_id))) toolchange_command = gcodegen.writer().toolchange(new_extruder_id); - if (!custom_gcode_changes_tool(toolchange_gcode_str, gcodegen.writer().toolchange_prefix(), new_extruder_id)) + if (toolchange_gcode.empty()) //!custom_gcode_changes_tool(toolchange_gcode_str, gcodegen.writer().toolchange_prefix(), new_extruder_id)) toolchange_gcode_str += toolchange_command; else { // We have informed the m_writer about the current extruder_id, we can ignore the generated G-code. diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index d76234d95..714367453 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -3955,7 +3955,8 @@ void PrintConfigDef::init_fff_params() def->tooltip = L("This custom code is inserted at every extruder change. If you don't leave this empty, you are " "expected to take care of the toolchange yourself - slic3r will not output any other G-code to " "change the filament. You can use placeholder variables for all Slic3r settings as well as [previous_extruder] " - "and [next_extruder], so e.g. the standard toolchange command can be scripted as T[next_extruder]."); + "and [next_extruder], so e.g. the standard toolchange command can be scripted as T[next_extruder]." + "!! Warning !!: if any charater is written here, slic3r won't output any toochange command by itself."); def->multiline = true; def->full_width = true; def->height = 5;