diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 31efebf58..1ea9d48f8 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -1191,9 +1191,6 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h if ( !GetMeshDS()->IsUsedHypothesis( hyp )) return; - if (_callUp && hyp) - _callUp->HypothesisModified( hyp->GetID() ); - SMESH_Algo *algo; const SMESH_HypoFilter* compatibleHypoKind; std::list usedHyps; @@ -1260,6 +1257,9 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h } HasModificationsToDiscard(); // to reset _isModified flag if mesh becomes empty GetMeshDS()->Modified(); + + if (_callUp && hyp) + _callUp->HypothesisModified( hyp->GetID() ); } //============================================================================= diff --git a/src/StdMeshersGUI/StdMeshers_images.ts b/src/StdMeshersGUI/StdMeshers_images.ts index 5957a63ad..36489516b 100644 --- a/src/StdMeshersGUI/StdMeshers_images.ts +++ b/src/StdMeshersGUI/StdMeshers_images.ts @@ -227,6 +227,10 @@ ICON_SMESH_TREE_HYPO_NumberOfLayers mesh_tree_hypo_layers_distribution.png + + ICON_SMESH_TREE_HYPO_NumberOfLayers2D + mesh_tree_hypo_layers_distribution.png + ICON_SMESH_TREE_HYPO_NumberOfSegments mesh_tree_hypo_segment.png