../src/slic3r/GUI/Gizmos/GLGizmoSVG.cpp:1833:58: warning: lambda capture 'volume' is not used [-Wunused-lambda-capture]
This commit is contained in:
Filip Sykala - NTB T15p 2023-09-15 09:46:40 +02:00
parent 1b62121c97
commit 261f9db2e2

View File

@ -1830,7 +1830,7 @@ void GLGizmoSVG::draw_mirroring()
Selection &selection = m_parent.get_selection(); Selection &selection = m_parent.get_selection();
selection.setup_cache(); 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 type = selection.is_single_volume()?
TransformationType::Local: TransformationType::Local:
TransformationType::Instance; TransformationType::Instance;