From 41aff15c515db78c8fae1970a68123ead7341459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hejl?= Date: Thu, 4 Jan 2024 14:50:49 +0100 Subject: [PATCH] Remove unused lambda capture plater in lambda function fix_and_update_progress() inside check_objects_after_cut(). --- src/slic3r/GUI/Gizmos/GLGizmoCut.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoCut.cpp b/src/slic3r/GUI/Gizmos/GLGizmoCut.cpp index 48d119e7dc..9873d2f6d0 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoCut.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoCut.cpp @@ -3310,7 +3310,7 @@ static void check_objects_after_cut(const ModelObjectPtrs& objects) for (int obj_idx : err_objects_idxs) model_names.push_back(objects[obj_idx]->name); - auto fix_and_update_progress = [plater, model_names, &objects](const int obj_idx, int model_idx, + auto fix_and_update_progress = [model_names, &objects](const int obj_idx, int model_idx, wxProgressDialog& progress_dlg, std::vector& succes_models, std::vector>& failed_models) -> bool