]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
23416: [CEA 2033] Impossible to re-compute a mesh from an hdf
authoreap <eap@opencascade.com>
Thu, 2 Mar 2017 15:15:00 +0000 (18:15 +0300)
committereap <eap@opencascade.com>
Thu, 2 Mar 2017 15:15:00 +0000 (18:15 +0300)
1) Fix loading MG_CADSurf hypothesis from a study
2) Restore OB icons for old studies created before renaming BLSURF -> MG-CADSurf

src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
src/GUI/BLSURFPlugin_images.ts

index 818b5893b67858503253069c83c613bc95e7225c..0300bdd4a5cc4381e8f987bbd7df6a55cd803701 100644 (file)
@@ -3291,7 +3291,7 @@ void BLSURFPlugin_Hypothesis::LoadPreCADPeriodicity(std::istream & load, const c
         if (hasTargetVertices)
           periodicity_i->theTargetVerticesEntries = theTargetVerticesEntries;
 
-        if ( shapeType  &&  strcmp( shapeType, "FACES" ))
+        if ( shapeType  &&  strcmp( shapeType, "FACES" ) == 0 )
           _preCadFacesPeriodicityVector.push_back(*periodicity_i);
         else
           _preCadEdgesPeriodicityVector.push_back(*periodicity_i);
index 730d2a27c2eca3f59124f2e4d8d37831394d7184..c50124dd4aae0198e06e8386137fc0f0f59cfaa3 100644 (file)
             <source>ICON_SMESH_TREE_HYPO_MG-CADSurf Parameters</source>
             <translation>mesh_tree_hypo_BLSURF.png</translation>
         </message>
+        <message>
+            <source>ICON_SMESH_TREE_ALGO_BLSURF</source>
+            <translation>mesh_tree_algo_BLSURF.png</translation>
+        </message>
+        <message>
+            <source>ICON_SMESH_TREE_HYPO_BLSURF_Parameters</source>
+            <translation>mesh_tree_hypo_BLSURF.png</translation>
+        </message>
         <message>
             <source>ICON_SMESH_TREE_ALGO_MG-CADSurf_NOGEOM</source>
             <translation>mesh_tree_algo_BLSURF.png</translation>