Skip to content
Snippets Groups Projects
Commit e19e287b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix "hide unselected" for proj surf
parent 84cf91c3
No related branches found
No related tags found
No related merge requests found
// $Id: GEntity.cpp,v 1.11 2007-07-26 13:10:48 geuzaine Exp $
// $Id: GEntity.cpp,v 1.12 2007-07-27 13:27:08 geuzaine Exp $
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
......@@ -38,7 +38,9 @@ GEntity::~GEntity()
char GEntity::getVisibility()
{
if(CTX.hide_unselected && !CTX.pick_elements && !getSelection()) return false;
if(CTX.hide_unselected && !CTX.pick_elements && !getSelection() &&
geomType() != ProjectionFace)
return false;
return _visible;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment