From: eap Date: Tue, 29 Jan 2008 15:35:47 +0000 (+0000) Subject: PAL18501 Bug in Netgen 1D2D3D assignement X-Git-Tag: for_M2008_07022008~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b55aba176dc667fc792b9f0b683872ddb1dc4e9a;p=modules%2Fsmesh.git PAL18501 Bug in Netgen 1D2D3D assignement synchronize with V3 --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index 8b50b3c2f..11d298a6d 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -1793,11 +1793,9 @@ bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess ) if ( isAccessibleDim( dim ) && myObjHyps[ dim ][ Algo ].count() > 0 ) { SMESH::SMESH_Hypothesis_var anOldAlgo = myObjHyps[ dim ][ Algo ].first().first; - CORBA::String_var anOldName = anOldAlgo->GetName(); SMESH::SMESH_Hypothesis_var anAlgoVar = getAlgo( dim ); - // CORBA::String_var anAlgoName = anAlgoVar->GetName(); if ( anAlgoVar->_is_nil() || // no new algo selected or - strcmp(anOldName.in(), anAlgoVar->GetName()) ) // algo change + strcmp(anOldAlgo->GetName(), anAlgoVar->GetName()) ) // algo change { // remove old algorithm SMESH::RemoveHypothesisOrAlgorithmOnMesh ( pObj, myObjHyps[ dim ][ Algo ].first().first );