From 523b7f3ebcc3b0a79daa4f75dcc5224c9713f49f Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 22 Feb 2017 16:13:10 +0100 Subject: [PATCH] Fix of a typo specific to a debugging build. --- xs/src/libslic3r/GCode/CoolingBuffer.cpp | 5 ++--- 1 file 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).