fix hypothesis removal

This commit is contained in:
eap 2006-04-18 12:50:29 +00:00
parent e6ae0164fa
commit eecb536915

View File

@ -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