-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
for ( int i = 0; i < entries.count(); ++i )
if ( SMESH_Actor* actor = SMESH::FindActorByEntry( entries[i].toUtf8().constData() ))
- SMESH::Update(actor->getIO(),actor->GetVisibility());
+ {
+ actor->SetEntityMode( actor->GetEntityMode() | SMESH_Actor::eFaces );
+ SMESH::Update( actor->getIO(), actor->GetVisibility() );
+ }
SMESH::RepaintCurrentView();
}
}