Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into gni/documentation
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_Make2DFrom3DOp.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
b/src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
index 125c5ae19a83632f1d1a02c426a76b2746f11f11..69cf9cc6128321039808375da7362c6a424541a8 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Make2DFrom3DOp.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
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
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-238,7
+238,7
@@
void SMESHGUI_Make2DFrom3DOp::startOperation()
if( !myDlg )
myDlg = new SMESHGUI_Make2DFrom3DDlg( desktop() );
if( !myDlg )
myDlg = new SMESHGUI_Make2DFrom3DDlg( desktop() );
- myHelpFileName = "make_2dmesh_from_3d
_page
.html";
+ myHelpFileName = "make_2dmesh_from_3d.html";
SMESHGUI_SelectionOp::startOperation();
SMESHGUI_SelectionOp::startOperation();
@@
-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() ))
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();
}
}
SMESH::RepaintCurrentView();
}
}