mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-02 21:00:34 +05:00
PAL18501 Bug in Netgen 1D2D3D assignement
synchronize with V3
This commit is contained in:
parent
fc9f03f0d9
commit
b55aba176d
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user