From 261f9db2e229fe90468e3ba7ebae5501b138ea98 Mon Sep 17 00:00:00 2001 From: Filip Sykala - NTB T15p Date: Fri, 15 Sep 2023 09:46:40 +0200 Subject: [PATCH] Fix: ../src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp:1833:58: warning: lambda capture 'volume' is not used [-Wunused-lambda-capture] --- src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp index f1fd4761c9..739bd0a104 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp @@ -1830,7 +1830,7 @@ void GLGizmoSVG::draw_mirroring() Selection &selection = m_parent.get_selection(); selection.setup_cache(); - auto selection_mirror_fnc = [&selection, &axis, &volume = *m_volume](){ + auto selection_mirror_fnc = [&selection, &axis](){ TransformationType type = selection.is_single_volume()? TransformationType::Local: TransformationType::Instance;