From 0bbec902ba322fd4b0b79a09c7e338a9666fe4ec Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 5 Mar 2019 20:01:00 +0300 Subject: [PATCH] #16648. + Update icons --- src/SMESH/SMESH_Mesh.cxx | 6 +++--- src/StdMeshersGUI/StdMeshers_images.ts | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) 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 -- 2.30.2