[SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D-2D-3D

remove extra code
This commit is contained in:
eap 2008-09-16 11:57:30 +00:00
parent aaefbed54e
commit c243e78505

View File

@ -594,8 +594,7 @@ void SMESHGUI_MeshOp::selectionDone()
// a global algorithm that does not support submeshes
if ( char* algoName = isSubmeshIgnored() ) {
SUIT_MessageBox::warning( myDlg, tr( "SMESH_ERROR" ),
tr(QString("SUBMESH_NOT_ALLOWED")
.toLatin1().data() ).arg(algoName));
tr("SUBMESH_NOT_ALLOWED").arg(algoName));
CORBA::string_free( algoName );
myDlg->selectObject( "", SMESHGUI_MeshDlg::Mesh, "" );
selectObject( _PTR(SObject)() );