diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp index 9eb26fe75..239c86eca 100644 --- a/src/libslic3r/SLAPrint.cpp +++ b/src/libslic3r/SLAPrint.cpp @@ -680,7 +680,7 @@ void SLAPrint::process() auto& levels = m_printer_input; // Rasterizing the model objects, and their supports - auto rasterize = [this, &levels]() { + auto rasterize = [this, max_objstatus, &levels]() { if(canceled()) return; // clear the rasterizer input