Salome HOME
#16648. + Update icons
authoreap <eap@opencascade.com>
Tue, 5 Mar 2019 17:01:00 +0000 (20:01 +0300)
committereap <eap@opencascade.com>
Tue, 5 Mar 2019 17:01:00 +0000 (20:01 +0300)
src/SMESH/SMESH_Mesh.cxx
src/StdMeshersGUI/StdMeshers_images.ts

index 31efebf587e13dd4e861969349f617f6a688b7ef..1ea9d48f8340a1ac6ffdfaddc7904ce3c5ee691a 100644 (file)
@@ -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 <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
   GetMeshDS()->Modified();
+
+  if (_callUp && hyp)
+    _callUp->HypothesisModified( hyp->GetID() );
 }
 
 //=============================================================================
index 5957a63ad08c50c6d127314f0fbd0cdeda715001..36489516b219979ff3ed162762627cb5baf1851e 100644 (file)
             <source>ICON_SMESH_TREE_HYPO_NumberOfLayers</source>
             <translation>mesh_tree_hypo_layers_distribution.png</translation>
         </message>
+        <message>
+            <source>ICON_SMESH_TREE_HYPO_NumberOfLayers2D</source>
+            <translation>mesh_tree_hypo_layers_distribution.png</translation>
+        </message>
         <message>
             <source>ICON_SMESH_TREE_HYPO_NumberOfSegments</source>
             <translation>mesh_tree_hypo_segment.png</translation>