From 1ea541767f50b6d6671775f1130ca66646154e11 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Wed, 28 Jul 2021 15:40:55 +0200 Subject: [PATCH] Fixed compile warning --- src/slic3r/GUI/GLModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GLModel.cpp b/src/slic3r/GUI/GLModel.cpp index 0fb6668c6..6d54ec20e 100644 --- a/src/slic3r/GUI/GLModel.cpp +++ b/src/slic3r/GUI/GLModel.cpp @@ -93,7 +93,7 @@ void GLModel::init_from(const TriangleMesh& mesh) #if ENABLE_SINKING_CONTOURS void GLModel::init_from(const Polygons& polygons, float z) { - auto append_polygon = [this](const Polygon& polygon, float z, GUI::GLModel::InitializationData& data) { + auto append_polygon = [](const Polygon& polygon, float z, GUI::GLModel::InitializationData& data) { if (!polygon.empty()) { GUI::GLModel::InitializationData::Entity entity; entity.type = GUI::GLModel::PrimitiveType::LineLoop;