From 15eae24650073aa2f5afec5a8741942b99b8db9e 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 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