From ebae26c10ffbc9e3e795651475c17685c8b1746c Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 11 Dec 2018 16:20:30 +0100 Subject: [PATCH] Build error fix for msvc --- src/libslic3r/SLAPrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp index 9eb26fe75aa..239c86eca84 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