From 01a6371181df537a20b594edffe2c2e43acb84e9 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 28 Jan 2019 17:36:46 +0300 Subject: [PATCH] Show faces added by Create boundary elements --- src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); } }