Fix of a typo specific to a debugging build.

This commit is contained in:
bubnikv 2017-02-22 16:13:10 +01:00
parent f7acb20e23
commit 523b7f3ebc

View file

@ -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);
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).