From: eap Date: Thu, 2 Mar 2017 15:15:00 +0000 (+0300) Subject: 23416: [CEA 2033] Impossible to re-compute a mesh from an hdf X-Git-Tag: SHAPER_2.7.0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e8903df45b442bf320866e928c0e3242e8233654;p=plugins%2Fblsurfplugin.git 23416: [CEA 2033] Impossible to re-compute a mesh from an hdf 1) Fix loading MG_CADSurf hypothesis from a study 2) Restore OB icons for old studies created before renaming BLSURF -> MG-CADSurf --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx index 818b589..0300bdd 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx @@ -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); diff --git a/src/GUI/BLSURFPlugin_images.ts b/src/GUI/BLSURFPlugin_images.ts index 730d2a2..c50124d 100644 --- a/src/GUI/BLSURFPlugin_images.ts +++ b/src/GUI/BLSURFPlugin_images.ts @@ -19,6 +19,14 @@ ICON_SMESH_TREE_HYPO_MG-CADSurf Parameters mesh_tree_hypo_BLSURF.png + + ICON_SMESH_TREE_ALGO_BLSURF + mesh_tree_algo_BLSURF.png + + + ICON_SMESH_TREE_HYPO_BLSURF_Parameters + mesh_tree_hypo_BLSURF.png + ICON_SMESH_TREE_ALGO_MG-CADSurf_NOGEOM mesh_tree_algo_BLSURF.png