Fix for RedHat8.0 Bug IPAL10936:

Polygonal face cannot be selected
This commit is contained in:
enk 2006-01-27 09:27:34 +00:00
parent 29923cc512
commit 60665280b0

View File

@ -45,6 +45,7 @@
#include "SVTK_ViewWindow.h" #include "SVTK_ViewWindow.h"
#include "SALOME_ListIO.hxx" #include "SALOME_ListIO.hxx"
#include "SalomeApp_Tools.h"
#include "utilities.h" #include "utilities.h"
// OCCT Includes // OCCT Includes
@ -257,7 +258,11 @@ void SMESHGUI_RemoveElementsDlg::ClickOnApply()
try { try {
SMESH::SMESH_MeshEditor_var aMeshEditor = myMesh->GetMeshEditor(); SMESH::SMESH_MeshEditor_var aMeshEditor = myMesh->GetMeshEditor();
aResult = aMeshEditor->RemoveElements(anArrayOfIdeces.inout()); aResult = aMeshEditor->RemoveElements(anArrayOfIdeces.inout());
} catch (...) { } catch (const SALOME::SALOME_Exception& S_ex) {
SalomeApp_Tools::QtCatchCorbaException(S_ex);
myEditCurrentArgument->clear();
} catch (...){
myEditCurrentArgument->clear();
} }
if (aResult) { if (aResult) {