Fix a bug with Follow_mouse.

This commit is contained in:
Laurent Rineau 2002-09-12 13:01:47 +00:00
parent dc6afccc91
commit 88da5513d1
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ public slots:
Face_handle fh = mesh->locate(p);
traits.set_point(p);
if( (fh!=NULL) && (!mesh->is_infinite(fh)) )
if( (fh!=NULL) && (!mesh->is_infinite(fh)) && fh->is_marked() )
{
const Point&
a = fh->vertex(0)->point(),