Skip to content

Commit

Permalink
Fix of a typo specific to a debugging build.
Browse files Browse the repository at this point in the history
  • Loading branch information
bubnikv committed Feb 22, 2017
1 parent f7acb20 commit 523b7f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions xs/src/libslic3r/GCode/CoolingBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 523b7f3

Please sign in to comment.