mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 04:49:00 +08:00
Fix typo in debug code, use this->_layer_id not plain layer_id.
This commit is contained in:
parent
df4f6434db
commit
a2c7e56862
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user