mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-25 10:22:05 +05:00
fix hypothesis removal
This commit is contained in:
parent
e6ae0164fa
commit
eecb536915
@ -1620,7 +1620,7 @@ bool SMESHGUI_MeshOp::editMeshOrSubMesh( QString& theMess )
|
|||||||
if ( anOldHypIndex >= 0 ) {
|
if ( anOldHypIndex >= 0 ) {
|
||||||
SMESH::RemoveHypothesisOrAlgorithmOnMesh(
|
SMESH::RemoveHypothesisOrAlgorithmOnMesh(
|
||||||
pObj, myExistingHyps[ dim ][ hypType ][ anOldHypIndex ] );
|
pObj, myExistingHyps[ dim ][ hypType ][ anOldHypIndex ] );
|
||||||
myExistingHyps.remove( anOldHypIndex );
|
myObjHyps[ dim ][ hypType ].clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
// assign new hypotheses
|
// assign new hypotheses
|
||||||
|
Loading…
x
Reference in New Issue
Block a user