mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
Fix for bug IPAL12063.
This commit is contained in:
parent
4d9935e8c4
commit
9412871c47
@ -781,6 +781,10 @@ namespace{
|
|||||||
else if ( !aSubMesh->_is_nil() ) { // DELETE SUBMESH
|
else if ( !aSubMesh->_is_nil() ) { // DELETE SUBMESH
|
||||||
SMESH::SMESH_Mesh_var aMesh = aSubMesh->GetFather();
|
SMESH::SMESH_Mesh_var aMesh = aSubMesh->GetFather();
|
||||||
aMesh->RemoveSubMesh( aSubMesh );
|
aMesh->RemoveSubMesh( aSubMesh );
|
||||||
|
|
||||||
|
_PTR(SObject) aMeshSO = SMESH::FindSObject(aMesh);
|
||||||
|
if (aMeshSO)
|
||||||
|
SMESH::ModifiedMesh(aMeshSO, false);
|
||||||
}
|
}
|
||||||
else if ( objType == "Hypothesis" || objType == "Algorithm" ) {// DELETE HYPOTHESIS
|
else if ( objType == "Hypothesis" || objType == "Algorithm" ) {// DELETE HYPOTHESIS
|
||||||
SMESH::RemoveHypothesisOrAlgorithmOnMesh(IObject);
|
SMESH::RemoveHypothesisOrAlgorithmOnMesh(IObject);
|
||||||
|
Loading…
Reference in New Issue
Block a user