From: eap Date: Mon, 28 Jan 2019 14:36:46 +0000 (+0300) Subject: Show faces added by Create boundary elements X-Git-Tag: V9_3_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01a6371181df537a20b594edffe2c2e43acb84e9;p=modules%2Fsmesh.git Show faces added by Create boundary elements --- diff --git a/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx b/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx index f03216cbe..ddf3c5ff5 100644 --- a/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx +++ b/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx @@ -469,7 +469,10 @@ bool SMESHGUI_Make2DFrom3DOp::compute2DMesh( QStringList& theEntryList ) 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(); } }