Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libslic3r/GCode.hpp')
-rw-r--r--src/libslic3r/GCode.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libslic3r/GCode.hpp b/src/libslic3r/GCode.hpp
index 580f0477d..45b4e8487 100644
--- a/src/libslic3r/GCode.hpp
+++ b/src/libslic3r/GCode.hpp
@@ -200,6 +200,9 @@ public:
// append full config to the given string
static void append_full_config(const Print& print, std::string& str);
+ // called by porcess_layer, do the color change / custom gcode
+ std::string emit_custom_gcode_per_print_z(const CustomGCode::Item* custom_gcode, unsigned int first_extruder_id, const Print& print, PrintStatistics& stats);
+
// Object and support extrusions of the same PrintObject at the same print_z.
// public, so that it could be accessed by free helper functions from GCode.cpp
struct LayerToPrint
@@ -225,6 +228,7 @@ private:
// Write into the output file.
FILE *file,
const Print &print,
+ PrintStatistics &print_stat,
// Set of object & print layers of the same PrintObject and with the same print_z.
const std::vector<LayerToPrint> &layers,
const LayerTools &layer_tools,