Fix build on non-MSVC
This commit is contained in:
parent
a8c459696f
commit
561bbf5a80
3 changed files with 3 additions and 3 deletions
src/slic3r/GUI
|
@ -1191,7 +1191,7 @@ void ObjectList::update_selections_on_canvas()
|
|||
return;
|
||||
}
|
||||
|
||||
auto add_to_selection = [this](wxDataViewItem& item, GLCanvas3D::Selection& selection, bool as_single_selection)
|
||||
auto add_to_selection = [this](const wxDataViewItem& item, GLCanvas3D::Selection& selection, bool as_single_selection)
|
||||
{
|
||||
if (m_objects_model->GetParent(item) == wxDataViewItem(0)){
|
||||
selection.add_object(m_objects_model->GetIdByItem(item), as_single_selection);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue