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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-02-22 18:13:10 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-22 18:13:10 +0300
commit523b7f3ebcc3b0a79daa4f75dcc5224c9713f49f (patch)
tree176469c11ca90377bf70a205e462a780323d3271 /xs
parentf7acb20e2382b5f8dc4549d3a6c9adb29ff74027 (diff)
Fix of a typo specific to a debugging build.
Diffstat (limited to 'xs')
-rw-r--r--xs/src/libslic3r/GCode/CoolingBuffer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xs/src/libslic3r/GCode/CoolingBuffer.cpp b/xs/src/libslic3r/GCode/CoolingBuffer.cpp
index 84df9cfd3..3254eb17d 100644
--- a/xs/src/libslic3r/GCode/CoolingBuffer.cpp
+++ b/xs/src/libslic3r/GCode/CoolingBuffer.cpp
@@ -68,9 +68,8 @@ CoolingBuffer::flush()
if (gg.config.cooling) {
#ifdef SLIC3R_DEBUG
- printf("Layer %zu estimated printing time: %f seconds\n", layer_id, elapsed);
- #endif
-
+ printf("Layer %zu estimated printing time: %f seconds\n", this->_layer_id, elapsed);
+ #endif
if (elapsed < (float)gg.config.slowdown_below_layer_time) {
// Layer time very short. Enable the fan to a full throttle and slow down the print
// (stretch the layer print time to slowdown_below_layer_time).