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 31efebf..1ea9d48 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 5957a63..3648951 100644 (file)
             <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>
         </message>