From: eap Date: Tue, 18 Apr 2006 12:50:29 +0000 (+0000) Subject: fix hypothesis removal X-Git-Tag: T3_2_0b1_pre1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eecb53691538b6a7c9f050d299b20123e35f1b89;p=modules%2Fsmesh.git fix hypothesis removal --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index b1bba36bf..20c4e77de 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -1620,7 +1620,7 @@ bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess ) if ( anOldHypIndex >= 0 ) { SMESH::RemoveHypothesisOrAlgorithmOnMesh( pObj, myExistingHyps[ dim ][ hypType ][ anOldHypIndex ] ); - myExistingHyps.remove( anOldHypIndex ); + myObjHyps[ dim ][ hypType ].clear(); } // assign new hypotheses