Fix lasso for 0 facet

This commit is contained in:
Maxime Gimeno 2019-02-08 12:03:32 +01:00
parent e3f615bc2a
commit 4a6dc5bfd6
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ public Q_SLOTS:
if(face_sel.empty())
{
contour_2d.clear();
qobject_cast<CGAL::Three::Viewer_interface*>(viewer)->set2DSelectionMode(false);
return;
}
//get border edges of the selected patches