Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3f7d8
)
Show faces added by Create boundary elements
author
eap
<eap@opencascade.com>
Mon, 28 Jan 2019 14:36:46 +0000
(17:36 +0300)
committer
eap
<eap@opencascade.com>
Mon, 28 Jan 2019 14:36:46 +0000
(17:36 +0300)
src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
b/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
index f03216cbe343847b62b0818843895251ec3f15b0..ddf3c5ff532fe06e3039e59a9aa5b9ce7c9c0aeb 100644
(file)
--- 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();
}
}