#16648. + Update icons

This commit is contained in:
eap 2019-03-05 20:01:00 +03:00
parent d2248790d7
commit 0bbec902ba
2 changed files with 7 additions and 3 deletions

View File

@ -1191,9 +1191,6 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h
if ( !GetMeshDS()->IsUsedHypothesis( hyp )) if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
return; return;
if (_callUp && hyp)
_callUp->HypothesisModified( hyp->GetID() );
SMESH_Algo *algo; SMESH_Algo *algo;
const SMESH_HypoFilter* compatibleHypoKind; const SMESH_HypoFilter* compatibleHypoKind;
std::list <const SMESHDS_Hypothesis * > usedHyps; std::list <const SMESHDS_Hypothesis * > usedHyps;
@ -1260,6 +1257,9 @@ void SMESH_Mesh::NotifySubMeshesHypothesisModification(const SMESH_Hypothesis* h
} }
HasModificationsToDiscard(); // to reset _isModified flag if mesh becomes empty HasModificationsToDiscard(); // to reset _isModified flag if mesh becomes empty
GetMeshDS()->Modified(); GetMeshDS()->Modified();
if (_callUp && hyp)
_callUp->HypothesisModified( hyp->GetID() );
} }
//============================================================================= //=============================================================================

View File

@ -227,6 +227,10 @@
<source>ICON_SMESH_TREE_HYPO_NumberOfLayers</source> <source>ICON_SMESH_TREE_HYPO_NumberOfLayers</source>
<translation>mesh_tree_hypo_layers_distribution.png</translation> <translation>mesh_tree_hypo_layers_distribution.png</translation>
</message> </message>
<message>
<source>ICON_SMESH_TREE_HYPO_NumberOfLayers2D</source>
<translation>mesh_tree_hypo_layers_distribution.png</translation>
</message>
<message> <message>
<source>ICON_SMESH_TREE_HYPO_NumberOfSegments</source> <source>ICON_SMESH_TREE_HYPO_NumberOfSegments</source>
<translation>mesh_tree_hypo_segment.png</translation> <translation>mesh_tree_hypo_segment.png</translation>