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;