Fix typo in debug code, use this->_layer_id not plain layer_id.

This commit is contained in:
Joseph Lenox 2017-01-01 17:51:51 -06:00
parent df4f6434db
commit a2c7e56862

View File

@ -68,7 +68,7 @@ CoolingBuffer::flush()
if (gg.config.cooling) { if (gg.config.cooling) {
#ifdef SLIC3R_DEBUG #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 #endif
if (elapsed < (float)gg.config.slowdown_below_layer_time) { if (elapsed < (float)gg.config.slowdown_below_layer_time) {