ObjectList: Fixed mouse click on the WarningIcon, when mesh wasn't repaired and isn't manifold.

This commit is contained in:
YuSanka 2021-10-06 10:12:21 +02:00
parent 9e2fa3cd4d
commit 47b54d5ce0
3 changed files with 12 additions and 1 deletions
src/slic3r/GUI

View file

@ -904,7 +904,7 @@ void ObjectList::list_manipulation(const wxPoint& mouse_pos, bool evt_context_me
int obj_idx, vol_idx;
get_selected_item_indexes(obj_idx, vol_idx, item);
if (get_mesh_errors_count(obj_idx, vol_idx) > 0 &&
if (m_objects_model->HasWarningIcon(item) &&
mouse_pos.x > 2 * wxGetApp().em_unit() && mouse_pos.x < 4 * wxGetApp().em_unit())
fix_through_netfabb();
}