]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Show faces added by Create boundary elements
authoreap <eap@opencascade.com>
Mon, 28 Jan 2019 14:36:46 +0000 (17:36 +0300)
committereap <eap@opencascade.com>
Mon, 28 Jan 2019 14:36:46 +0000 (17:36 +0300)
src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx

index f03216cbe343847b62b0818843895251ec3f15b0..ddf3c5ff532fe06e3039e59a9aa5b9ce7c9c0aeb 100644 (file)
@@ -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();
     }
   }