From eecb53691538b6a7c9f050d299b20123e35f1b89 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Apr 2006 12:50:29 +0000 Subject: [PATCH] fix hypothesis removal --- src/SMESHGUI/SMESHGUI_MeshOp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2