From: eap Date: Tue, 5 Mar 2019 17:01:00 +0000 (+0300) Subject: #16648. + Update icons X-Git-Tag: V9_3_0a2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=0bbec902ba322fd4b0b79a09c7e338a9666fe4ec #16648. + Update icons --- 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